Method, device, equipment and storage medium for controlling game equipment
By setting a fixed area and active area on the game interface, users are allowed to drag and adjust the equipment order, which solves the problem that the equipment purchase order cannot be adjusted in real time in moba games, and improves the gaming experience.
Patent Information
- Application Number
- CN202210816759.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-12
- Publication Date
- 2025-07-18
- Estimated Expiration
- 2042-07-12
AI Technical Summary
In the prior art, the purchase order of moba game equipment cannot be adjusted in real time, resulting in complex operations and affecting the user's gaming experience.
By setting fixed areas and active areas on the game interface, displaying designated equipment groups and allowing users to adjust equipment order between these areas through dragging operations to achieve quick adjustments.
It realizes that the equipment order is quickly adjusted without obstructing the game scene, improving the user's gaming experience.
Smart Images

Figure CN115487490B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of games, and in particular to a method, device, equipment and storage medium for controlling game equipment. Background Art
[0002] In MOBA (Multiplayer Online Battle Arena) games, it is very important to reasonably purchase equipment and convert the economy into combat power.
[0003] Currently, there are mainly two ways to achieve quick purchase of equipment: First, before entering the game, multiple key pieces of equipment can be preset in sequence during the preparation stage. Then, during the game, the small and medium-sized pieces of each piece of equipment can be quickly purchased in sequence until the entire large-sized piece is purchased, and this process is repeated until multiple key pieces of equipment are formed. Second, during the game, first open the equipment interface, select a piece of equipment and click to pre-purchase. The pre-purchased equipment will directly jump to the back of the purchased equipment and be given priority for purchase. After the purchase of this piece of equipment is complete, continue to purchase the subsequent preset equipment in sequence. Through the above two methods, quick purchase can be achieved, but it requires pre-setting and opening the entire equipment interface for selection. And when it is necessary to modify the purchase order, it is necessary to open the entire equipment interface to specify the purchase, and the original equipment order cannot be modified temporarily, which results in the equipment order being unable to be quickly adjusted according to the actual needs of the game, and the operation is complex, greatly reducing the user experience of the game. Summary of the Invention
[0004] In view of this, the purpose of the present invention is to provide a method, device, equipment and storage medium for controlling game equipment to solve the problem that the equipment interface in the prior art blocks the game scene, and the real-time adjustment of the equipment order is complex after the equipment order is set, thus affecting the user experience of the game.
[0005] In a first aspect, an embodiment of the present invention provides a method for controlling game equipment. A graphical user interface is displayed through a terminal device. The graphical user interface includes at least part of the game scene and a target control. The game scene includes a virtual character controlled by the terminal device. The method includes:
[0006] In response to a first touch operation on the target control, an equipment interface is displayed on the graphical user interface. The equipment interface includes a fixed area and a movable area. Among them, the fixed area is used to display the equipment whose purchase order is the first N, and the movable area is used to display the equipment whose purchase order is after the Nth, where N is a positive integer;
[0007] In response to a first dragging operation of dragging a first target equipment in the active area to the fixed area, or in response to a second dragging operation on a second target equipment in the fixed area, adjust the equipment in the fixed area and the corresponding equipment installation order.
[0008] The above method for controlling game equipment further includes:
[0009] In response to a sliding operation on the active area, control the equipment after the Nth position in the equipment installation order to scroll and display in the active area.
[0010] The step of displaying an equipment interface on the graphical user interface in response to a first touch operation on the target control includes:
[0011] In response to a first touch operation on the target control, display the equipment interface in the graphical user interface, where the equipment interface includes a fixed area and an active area;
[0012] Obtain a specified equipment group corresponding to the virtual character, where the specified equipment group includes multiple pieces of equipment;
[0013] Display the equipment with the first N positions in the equipment installation order in the specified equipment group in the fixed area, and display the equipment with the installation order after the Nth position in the specified equipment group in the active area.
[0014] The above obtaining the specified equipment group corresponding to the virtual character includes:
[0015] Obtain the character type of the virtual character;
[0016] Based on the character type, determine the corresponding specified equipment group, and use the specified equipment group as the specified equipment group corresponding to the virtual character.
[0017] The above step of displaying the equipment with the first N positions in the equipment installation order in the specified equipment group in the fixed area and displaying the equipment with the installation order after the Nth position in the specified equipment group in the active area includes:
[0018] Determine the numbers of the equipment in the specified equipment group according to the preset equipment installation order;
[0019] In the order from smallest to largest of the numbers, display the equipment with the first N positions in the equipment installation order in the fixed area in sequence;
[0020] Display at least some of the equipment in the specified equipment group other than the equipment in the fixed area in the active area in sequence.
[0021] The above method for controlling game equipment further includes:
[0022] In the associated area of each piece of equipment in the equipment interface, the numbers of the corresponding pieces of equipment are respectively displayed.
[0023] The method for controlling game equipment further includes:
[0024] When it is detected that the first piece of equipment in the fixed area is a synthesis component of the second piece of equipment in the fixed area, and there are no other synthesis components of the second piece of equipment between the first piece of equipment and the second piece of equipment, the number corresponding to the second piece of equipment is adjusted to be the same as the number of the first piece of equipment, where the first piece of equipment is arranged in front of the second piece of equipment in the fixed area.
[0025] The method for controlling game equipment further includes:
[0026] In response to the adjustment of the number corresponding to the second piece of equipment, the numbers corresponding to the equipment after the second piece of equipment in the equipment interface are adjusted.
[0027] The method for controlling game equipment further includes:
[0028] Determine the display state of the equipment to be displayed according to the equipment type of the equipment to be displayed, where the equipment type includes any one of the following: purchased type, being purchased type, not purchased type, and to be sold type.
[0029] The method for controlling game equipment further includes:
[0030] When it is detected that the first piece of equipment in the fixed area is a purchased piece of equipment, the second piece of equipment in the fixed area is adjusted to be a piece of equipment being purchased, and the first piece of equipment is deleted from the equipment interface.
[0031] After deleting the first piece of equipment as described above, it further includes:
[0032] Adjust the equipment installation order of all equipment after the first piece of equipment in the equipment installation order, and adjust the numbers of all equipment with numbers after the first piece of equipment in the equipment interface.
[0033] The step of adjusting the equipment and the corresponding equipment installation order in the fixed area in response to the first dragging operation of dragging the first target equipment in the active area to the fixed area, or in response to the second dragging operation for the second target equipment in the fixed area, includes:
[0034] In response to a first dragging operation of dragging a first target equipment in the active area to the fixed area, determine the termination position of the first dragging operation in the fixed area; or, in response to a second dragging operation for a second target equipment in the fixed area, determine the termination position of the second dragging operation in the fixed area;
[0035] Move the dragging equipment affected by the first dragging operation or the second dragging operation to the area corresponding to the termination position, adjust the equipment loading order of the dragging equipment, and adjust the equipment sorted after the dragging equipment in the fixed area and the corresponding equipment loading order.
[0036] The above steps of moving the dragging equipment affected by the first dragging operation or the second dragging operation to the area corresponding to the dragging end position, and adjusting the equipment sorted after the dragging equipment in the fixed area and the corresponding equipment loading order include:
[0037] If the termination position is between two pieces of equipment, insert the dragging equipment between the two pieces of equipment, and move the equipment sorted after the termination position and the serial numbers backward in sequence; or,
[0038] If the termination position is on the equipment in the fixed area, swap the dragging equipment with the equipment at the termination position and the serial numbers; or,
[0039] If the termination position is at the end area of all the equipment in the fixed area, move the dragging equipment to the last of the fixed area, and move the equipment sorted before the termination position forward in sequence.
[0040] After the above steps of moving the dragging equipment to the last of the fixed area and moving the equipment sorted before the termination position forward in sequence, it further includes:
[0041] Determine the equipment type of the dragging equipment before adjustment;
[0042] If the equipment type of the dragging equipment before adjustment is the purchased type or the type being purchased, adjust the equipment type of the dragging equipment to the type to be sold.
[0043] The above method for controlling game equipment further includes:
[0044] Obtain the amount of existing funds of the virtual character at the current moment, match corresponding replacement equipment from the active area based on the virtual assets and the selling amount of the equipment of the type to be sold, and prompt and display it in the graphical user interface.
[0045] After the above-mentioned first dragging operation of dragging the first target equipment in the active area to the fixed area in response to the response, or after the step of adjusting the equipment in the fixed area and the corresponding equipment installation order in response to the second dragging operation for the second target equipment in the fixed area, the method further includes:
[0046] In response to a second touch operation on the equipment in the fixed area, display a corresponding equipment sub-component synthesis list in the equipment interface;
[0047] In response to a third dragging operation of dragging the equipment in the equipment sub-component synthesis list to the fixed area, display the dragged sub-component equipment in the fixed area, and adjust the equipment in the fixed area and the corresponding equipment installation order.
[0048] The above-mentioned equipment interface is in a circular shape.
[0049] In a second aspect, an embodiment of the present invention provides a device for controlling game equipment. A graphical user interface is displayed through a terminal device. The graphical user interface includes at least part of a game scene and target controls. The game scene includes a virtual character controlled by the terminal device. The device includes:
[0050] A display module, configured to display an equipment interface on the graphical user interface in response to a first touch operation on the target control. The equipment interface includes a fixed area and an active area. Among them, the fixed area is used to display the equipment with the first N installation orders, and the active area is used to display the equipment after the Nth installation order. The N is a positive integer;
[0051] An adjustment module, configured to adjust the equipment in the fixed area and the corresponding equipment installation order in response to a first dragging operation of dragging the first target equipment in the active area to the fixed area, or in response to a second dragging operation for the second target equipment in the fixed area.
[0052] In a third aspect, an embodiment of the present invention provides a user terminal device, including a processor and a memory. The memory stores machine-executable instructions that can be executed by the processor. The processor executes the machine-executable instructions to implement the above-mentioned method for controlling game equipment.
[0053] In a fourth aspect, an embodiment of the present invention provides a machine-readable storage medium. The machine-readable storage medium stores machine-executable instructions. When the machine-executable instructions are called and executed by the processor, the machine-executable instructions cause the processor to implement the above-mentioned method for controlling game equipment.
[0054] The embodiments of the present invention bring the following beneficial effects:
[0055] The game equipment control method provided above is applied to a user device, and a graphical user interface is displayed on the terminal. Among them, the graphical user interface includes at least part of the game scene and target controls, and the game scene contains virtual characters controlled by the terminal device; in response to a first touch operation on the target control, an equipment interface is displayed on the graphical user interface. The equipment interface includes a fixed area and a movable area. Among them, the fixed area is used to display the equipment with the first N installation orders, and the movable area is used to display the equipment with the installation order after the Nth. The N is a positive integer; in response to a first dragging operation of dragging a first target equipment in the movable area to the fixed area, or in response to a second dragging operation on a second target equipment in the fixed area, the equipment in the fixed area and the corresponding installation order are adjusted. In this method, a specified equipment group is displayed based on the equipment interface with a fixed area and a movable area, and the equipment in the fixed area of the equipment interface is adjusted based on the dragging operation, so as to realize the adjustment of the installation order, which can cover most battle situations, and replaces all the equipment interfaces with the equipment interface, avoiding the problems of interface blocking the game scene and gradually manually pre-purchasing, which affect the user's game experience.
[0056] Other features and advantages of the present invention will be described in the following specification, and, in part, will be obvious from the specification, or will be understood by implementing the present invention. The objectives and other advantages of the present invention are realized and obtained by the structures specifically pointed out in the specification, claims, and drawings.
[0057] To make the above objectives, features, and advantages of the present invention more obvious and understandable, the following specifically enumerates preferred embodiments and, in conjunction with the accompanying drawings, makes a detailed description as follows. Description of the Drawings
[0058] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for use in the description of the specific embodiments or the prior art. Obviously, the following drawings are some embodiments of the present invention. For those skilled in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0059] Figure 1 It is a schematic diagram of an embodiment of the game equipment control method provided by an embodiment of the present invention;
[0060] Figure 2 It is a schematic diagram of another embodiment of the game equipment control method provided by an embodiment of the present invention;
[0061] Figure 3 It is a schematic diagram of the graphical user interface provided by an embodiment of the present invention;
[0062] Figure 4 A schematic diagram of a graphical user interface after triggering a target control provided by an embodiment of the present invention;
[0063] Figure 5 A schematic diagram of a variation of the graphical user interface provided by an embodiment of the present invention;
[0064] Figure 6 Another schematic diagram of a variation of the graphical user interface provided by an embodiment of the present invention;
[0065] Figure 7 Another schematic diagram of an actual variation of the graphical user interface provided by an embodiment of the present invention;
[0066] Figure 8 Another schematic diagram of a variation of the graphical user interface provided by an embodiment of the present invention;
[0067] Figure 9 Another schematic diagram of a variation of the graphical user interface provided by an embodiment of the present invention;
[0068] Figure 10 Another schematic diagram of a variation of the graphical user interface provided by an embodiment of the present invention;
[0069] Figure 11 Another schematic diagram of an embodiment of a method for controlling game equipment provided by an embodiment of the present invention;
[0070] Figure 12 Another schematic diagram of a graphical user interface after triggering a target control provided by an embodiment of the present invention;
[0071] Figure 13 A schematic diagram of a variation of an equipment interface provided by an embodiment of the present invention;
[0072] Figure 14 Another schematic diagram of a variation of the graphical user interface provided by an embodiment of the present invention;
[0073] Figure 15 Another schematic diagram of a variation of the graphical user interface provided by an embodiment of the present invention;
[0074] Figure 16 A schematic diagram of a device for controlling game equipment provided by an embodiment of the present invention;
[0075] Figure 17 A schematic diagram of a client device provided by an embodiment of the present invention. Detailed implementation manners
[0076] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Apparently, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0077] This application takes the MOBA game as an example for illustration. In the MOBA game, it is a very common operation for users to select different item builds or adjust the order of item builds during the game process. However, in the current game item build control, most of the time, users set different item builds before the game. Users select the corresponding item build combination from the preset list of item build groups according to the specific situation of the game. However, this setting method is limited and difficult to adapt to all situations. If a matching item build group cannot be found in the list, the user needs to manually select the reserved item build from the item interface. Opening the item interface will block the game scene, and the user cannot observe the game situation, which extremely affects the game experience. According to the above defects, this application mainly solves the problem that MOBA games cannot conveniently adjust the item build order.
[0078] Based on the above, an embodiment of the present invention provides a method for controlling game items and an item set storage medium.
[0079] In one embodiment of the present invention, the method for controlling game items can run on a terminal device or a server. Among them, the terminal device can be a local terminal device. When the game item control method runs on the server, the method can be implemented and executed based on a cloud interaction system, where the cloud interaction system includes a server and a client device.
[0080] In an alternative embodiment, various cloud applications can run under the cloud interaction system, such as cloud games. Taking cloud games as an example, cloud games refer to a game mode based on cloud computing. In the operation mode of cloud games, the running entity of the game program and the presenting entity of the game screen are separated. The storage and operation of the virtual item processing method in the game are completed on the cloud game server. The role of the client device is to receive, send, 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, a television, a computer, a personal digital assistant, etc.; however, the terminal device for information processing is the cloud game server in the cloud. When playing the game, the player operates the client device to send an operation instruction to the cloud game server. The cloud game server runs the game according to the operation instruction, encodes and compresses the game screen and other data, returns it to the client device through the network, and finally, the game screen is decoded and output through the client device.
[0081] In an optional embodiment, the terminal device may be a local terminal device. Taking a game as an example, the local terminal device stores a game program and is used to present game screens. The local terminal device is used to interact with players through a graphical user interface, that is, conventionally, downloading and installing a game program through an electronic device and running it. The ways for the local terminal device to provide the graphical user interface to players may include various methods. For example, it may be rendered and displayed on the display screen of the terminal, or provided to players 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, which includes game screens, 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.
[0082] In a possible embodiment, the embodiments of the present invention provide a method for controlling game equipment. Among them, the terminal device may be the aforementioned local terminal device or the client device in the aforementioned cloud interaction system.
[0083] See Figure 1 As shown in the schematic diagram of an embodiment of a method for controlling game equipment, the method for controlling game equipment includes the following steps:
[0084] Step S101, display a graphical user interface through the terminal device. The graphical user interface includes at least part of a game scene and target controls, and the game scene contains virtual characters controlled by the terminal device;
[0085] The graphical user interface refers to the interface corresponding to the application program provided or displayed through the graphical user interface. This interface includes a UI interface (User Interface) for players to interact and game screens. In an optional embodiment, the UI interface may include game controls (such as skill controls, movement controls, function controls, etc.), indication marks (such as direction indication marks, character indication marks, etc.), information display areas, or game setting controls (such as system settings, stores, gold coins, etc.). In an optional embodiment, the game screen is the display screen corresponding to the virtual scene displayed by the terminal device. The game screen may include virtual characters such as game characters, NPC characters (Non-Player Character), and AI (Artificial Intelligence) characters that execute game logic in the virtual scene.
[0086] In this embodiment, a game scene is displayed in the graphical user interface, so that players can control the virtual character or select equipment and item builds to control the overall game situation by observing the position and status of the virtual character in the game scene. When selecting equipment and item builds, the target control displayed on the graphical user interface is triggered to display the equipment interface, and the equipment and item build order are set on the equipment interface to implement the selection and purchase of equipment.
[0087] In practical applications, users can manually set the specified equipment set and purchase order before entering the game, or can also set the specified equipment set and purchase order after entering the game. For example: The game can recommend multiple specified equipment sets and purchase orders for players to choose before entering the game, or, players can enter the store page for purchasing equipment through the preparation page after entering the game, and set the specified equipment set and the purchase order of each piece of equipment in the specified equipment set in the preparation page. Preferably, the purchase order of the first N pieces of equipment is set, where the first N here refers to N pieces of equipment from the 1st to the Nth in the item build order. During the game, the game equipment control control is triggered to display the corresponding specified equipment set.
[0088] Step S102, in response to the first touch operation on the target control, display the equipment interface on the graphical user interface. The equipment interface includes a fixed area and an active area. Among them, the fixed area is used to display the equipment with the item build order of the first N pieces, and the active area is used to display the equipment other than the equipment after the Nth in the item build order, where N is a positive integer;
[0089] Applied to the user device. The user device obtains the default specified equipment set set under the current account or the specified equipment set selected in the previous game under the current account by responding to the first touch operation on the icon of the target control on the graphical user interface. This first touch operation can be a touch operation of the user on the icon, or a swipe operation on the graphical user interface, or even an operation of a specific trajectory formed by swiping on the graphical user interface, and can even be the specified equipment set corresponding to the specific trajectory swiped by the user on the graphical user interface.
[0090] After selecting the specified equipment set, the equipment interface is retrieved and displayed on the graphical user interface, covering a partial game scene, specifically displayed in the middle position of the game scene, and finally the equipment in the selected specified equipment set is displayed in the equipment interface. Among them, the first N pieces of equipment in the specified equipment set are displayed in the fixed area according to the preset sorting, and the rest are displayed in the active area, and each piece of equipment is numbered according to the preset sorting.
[0091] The client device triggers a display instruction for the equipment interface through an icon touch operation on the target control. When responding to the display instruction for the equipment interface, the game program on the client device generates a read instruction to query the first specified equipment group or the default specified equipment group set under the account from the cloud, reads the corresponding data, and the game program parses the equipment icons and displays them in the equipment interface.
[0092] In this embodiment, the equipment interface includes an active area and a fixed area. After obtaining the specified equipment group, it also includes identifying the equipment priorities of the specified equipment group, selecting the part with a higher priority as the first equipment group, and displaying it in the fixed area; the remaining part of the equipment is used as the second equipment group and displayed in the active area.
[0093] In practical applications, after dividing the first equipment group and the second equipment group, the equipment in the first equipment group and the second equipment group are respectively sorted, and the equipment in the second equipment group is sorted after the equipment in the first equipment group.
[0094] In this embodiment, the division of each equipment in the specified equipment group also includes identifying the large pieces, medium pieces, and small pieces in the specified equipment group, selecting a certain number of equipment in the order of large pieces, medium pieces, and small pieces to form the first equipment group, and displaying it in the fixed area; the remaining part of the equipment is used as the second equipment group and displayed in the active area.
[0095] Of course, it is also possible to evenly display all the equipment in the specified equipment group in the fixed area and the active area, and then the user can swap the sorting of the equipment in the active area and the fixed area according to actual needs to obtain the first equipment group and the second equipment group.
[0096] Step S103, respond to the first drag operation of dragging the first target equipment in the active area to the fixed area;
[0097] Step S104, respond to the second drag operation for the second target equipment in the fixed area, and adjust the equipment and the corresponding equipment installation order in the fixed area.
[0098] Applied to the client device. When the first drag operation starts in the active area and ends in the fixed area, the selected equipment in the active area is moved to the fixed area, placed according to the end position, and the sorting order and buying / selling status after adding the equipment in the fixed area are adjusted.
[0099] When the second drag operation starts in the fixed area and ends in the fixed area, the fixed equipment in the fixed area is moved to the end position for placement, and the sorting order of the equipment in the fixed area after being adjusted is adjusted.
[0100] When the second drag operation starts from the fixed area and ends outside the equipment interface, the selected equipment in the fixed area is moved outside the equipment interface, and the moved equipment is displayed at the last position in the fixed area, and the sorting order and buying / selling status after adding equipment in the fixed area are adjusted.
[0101] The above method for controlling game equipment responds to a touch operation on a target control in a graphical user interface and displays an equipment interface containing a specified equipment group in a game scene; wherein, the equipment interface includes a fixed area and an active area; responds to a drag operation on the equipment in the active area or the fixed area on the equipment interface to select the target equipment, and adjusts the equipment in the fixed area. In this method, by setting the fixed area and the active area to display the specified equipment group, quick adjustment of the equipment can be achieved on the equipment interface, and the operation of adjusting the order in real time after setting the equipment output order is complex. Compared with the prior art, there is no need to re-adjust the entire equipment combination and less occlusion of the game scene is achieved, thereby improving the user's game experience.
[0102] See Figure 2 As shown in the schematic diagram of another embodiment of a method for controlling game equipment, the method for controlling game equipment includes the following steps:
[0103] The user terminal device includes a user client and a user VR device. The user client can be a mobile terminal (e.g., a mobile phone), a television, a computer (e.g., a personal computer), a personal digital assistant, etc. For the convenience of explanation and understanding, by way of example and not limitation, the user client in the embodiments of the present invention is described as a user mobile phone.
[0104] Step S201, display a graphical user interface on the terminal, wherein the graphical user interface displays a game scene and a target control;
[0105] Step S202, in response to a first touch operation on the target control, display the equipment interface in a partial view of the game scene, wherein the equipment interface includes a fixed area and an active area;
[0106] Applied to the user terminal device. The first touch operation can be a swipe operation, a click operation. Preferably, the user mobile phone responds to the icon of the target control displayed on the graphical user interface by the user. By way of example and not limitation, such as Figure 3As shown, the user clicks on the circular icon 1 in the figure. The user device responds to this click operation and retrieves the equipment interface 2. In the figure, this equipment interface 2 is displayed in the middle position of the game scene. The equipment is displayed through the fixed area and the activity area in the equipment interface 2, and only partial areas of the fixed area and the activity area are displayed in the graphical user interface. Based on this interface, the user can freely adjust the equipment loading order. Such an equipment interface does not block the scene information in the game scene, facilitating the user to observe the changes in the battle situation in the game scene while adjusting the equipped items.
[0107] In this embodiment, the equipment interface can be a display area of different shapes. In this display area, two major areas are also divided, namely the fixed area and the activity area. Preferably, taking the dual list form as an example, such as Figure 3 the area 21 and area 22 in it, where area 21 is the fixed area and area 22 is the activity area.
[0108] Step S203, obtain the specified equipment set under the game scene, and display the specified equipment set in the fixed area and the activity area according to the preset arrangement order;
[0109] Applied to the user device. Specifically, obtain the specified equipment set corresponding to the virtual character. Among them, the specified equipment set includes multiple pieces of equipment; display the equipment with the first N positions in the loading order in the specified equipment set in the fixed area, and display the equipment with the positions after the Nth position in the specified equipment set in the activity area.
[0110] In this embodiment, the specified equipment set is that the user sets up equipment combinations for different game characters before the game starts. After responding to the touch operation on the target control, identify the game character used in the current game, query the multiple pre-set specified equipment sets corresponding to the game character based on the game character, and select the one with the higher ranking from the multiple specified equipment sets. Then, display them in the equipment interface in the order of the ranking of each piece of equipment in the specified equipment set. Among them, when displaying, start from the fixed area and display until the fixed area is full, and then display the remaining equipment in the activity area in order.
[0111] In practical applications, divide them equally according to the ranking order of each piece of equipment in the selected specified equipment set, display the first half with the higher ranking in the fixed area, and display the second half with the lower ranking in the activity area; further, it can also be to display the large-sized pieces of equipment in the specified equipment set in the fixed area, and display the medium-sized and / or small-sized pieces in the activity area.
[0112] In an alternative embodiment, the obtaining of the specified equipment set corresponding to the virtual character includes:
[0113] Obtain the character type of the virtual character;
[0114] Determine the corresponding specified equipment group based on the character type, and use the specified equipment group as the specified equipment group corresponding to the virtual character.
[0115] Further, the step of displaying the equipment with the first N positions in the equipment-outfitting order in the specified equipment group in the fixed area and displaying the equipment with the positions after the Nth position in the specified equipment group in the activity area includes:
[0116] Determine the numbers of the equipment in the specified equipment group according to the preset equipment-outfitting order;
[0117] In the order from the smallest to the largest of the numbers, display the equipment with the first N positions in the equipment-outfitting order in the fixed area in sequence;
[0118] Display at least some of the equipment in the specified equipment group except the equipment in the fixed area in the activity area in sequence.
[0119] And after displaying at least some of the equipment in the specified equipment group except the equipment in the fixed area in the activity area in sequence, it further includes:
[0120] Display the numbers of the corresponding equipment in the associated areas of each equipment in the equipment interface respectively.
[0121] In practical applications, obtain the specified equipment group in the game scene and divide it into a first specified equipment group and a second specified equipment group according to the preset order; wherein, the sorting of the second specified equipment group is after that of the first specified equipment group; display the first specified equipment group and the second specified equipment group in the fixed area and the activity area in sequence.
[0122] As Figure 4 shown, the selected specified equipment group contains a total of 12 pieces of equipment, among which the first six pieces are displayed in area 21 and are sorted in sequence from top to bottom according to the previous sorting: Equipment 1 → Equipment 2 → Equipment 3 → Equipment 4 → Equipment 5 → Equipment 6, and the last six pieces are displayed in area 22 and are sorted in sequence from top to bottom according to the previous sorting: Equipment 7 → Equipment 8 → Equipment 9 → Equipment 10 → Equipment 11 → Equipment 12. Currently, in addition to displaying the last six pieces of equipment in area 22, the user can also select other equipment from the entire equipment interface to be displayed in area 22, and form a scrolling queue with Equipment 7 → Equipment 8 → Equipment 9 → Equipment 10 → Equipment 11 → Equipment 12. The user can control the scrolling display of the equipment in the scrolling queue by sliding up and down in area 22.
[0123] In practical applications, determine the serial numbers of the equipment in the first specified equipment group and the second specified equipment group according to a preset sorting; in the order from smallest to largest of the serial numbers, display the equipment in the first specified equipment group in sequence in the fixed area, and display the corresponding serial number on the icon of the equipment; in the order from smallest to largest of the serial numbers, display the equipment in the second specified equipment group in sequence in the active area, and display the corresponding serial number on the icon of the equipment.
[0124] As Figure 4 shown, after displaying equipment 1 → equipment 2 → equipment 3 → equipment 4 → equipment 5 → equipment 6 → equipment 7 → equipment 8 → equipment 9 → equipment 10 → equipment 11 → equipment 12 in sequence in the equipment interface 2, display the corresponding serial number on the icon of each equipment according to the above sorting. For example, it can be in the upper right corner, lower left corner, etc.
[0125] In an optional implementation manner, the step of, in response to a touch operation on the target control, displaying an equipment interface on the graphical user interface, where the equipment interface includes a fixed area and an active area, includes:
[0126] Sequentially identify whether the equipment ranked later in the specified equipment group belongs to the synthesis components of the equipment ranked earlier according to the preset sorting of the specified equipment group, and obtain an identification result;
[0127] Adjust the sorting number of the equipment corresponding to the synthesis component according to the identification result to obtain the serial numbers of each equipment.
[0128] Specifically, after displaying the equipment with the first N positions in the equipment output order in the specified equipment group in the fixed area and displaying the equipment with the equipment output order after the Nth position in the specified equipment group in the active area, it further includes:
[0129] When it is detected that the first equipment in the fixed area is a synthesis component of the second equipment in the fixed area, and there are no other synthesis components of the second equipment between the first equipment and the second equipment, adjust the number corresponding to the second equipment to be the same as the number of the first equipment, where the first equipment is arranged in front of the second equipment in the fixed area.
[0130] Further, after adjusting the number, it further includes: in response to the adjustment of the number corresponding to the second equipment, adjust the numbers corresponding to the equipment after the second equipment in the equipment interface.
[0131] In practical applications, determine the sorting numbers of the equipment in the first specified equipment group and the second specified equipment group based on a preset equipment - outfitting sequence; identify whether there are synthesis components in the first specified equipment group to obtain an identification result; adjust the sorting numbers of the equipment in the first specified equipment group according to the identification result, and sequentially move forward and adjust the sorting numbers of the equipment in the second specified equipment group to obtain the final numbers of the equipment.
[0132] In practical applications, the equipment in the specified equipment group is not necessarily all independent equipment, and some are mutually synthesized equipment. Specifically, when the equipment with a higher sorting position is the synthesis equipment of the equipment with a lower sorting position, the serial numbers of the two pieces of equipment need to be set to be the same. For example, Figure 5 as shown, equipment 4 is the synthesis equipment of equipment 6, and the sorting serial number of equipment 4 in Figure 4 is 4, and the serial number of equipment 6 is 6. At this time, when outfitting, after equipping equipment 4, equipment 6 should be equipped continuously to complete the synthesis of the large item, that is, adjust the serial number of equipment 6 from 6 to 4. And the subsequent equipment needs to be adjusted forward in turn. Here, the forward adjustment refers to adjusting the serial number forward, that is, adjusting the serial numbers of the original equipment 7 → equipment 8 → equipment 9 → equipment 10 → equipment 11 → equipment 12 from 7 - 8 - 9 - 10 - 11 - 12 to 6 - 7 - 8 - 9 - 10 - 11, and the serial number sorting of the entire specified equipment group becomes 1 - 2 - 3 - 4 - 5 - 4 - 6 - 7 - 8 - 9 - 10 - 11. Therefore, during the game, after purchasing external equipment 4, equipment 6 should be purchased next.
[0133] In this embodiment, by determining whether the equipment with a larger serial number among the equipment in the fixed area is the synthesis component of the equipment with a smaller serial number, if the identification result is that the equipment with a larger sorting number among the first N pieces of equipment belongs to the synthesis component of the equipment with a smaller sorting number among the first N pieces of equipment and there are no other synthesis components between them, then update the sorting numbers of the corresponding two pieces of equipment to the smaller one of the two sorting numbers, and sequentially move forward and adjust the sorting numbers of the other equipment in the first N pieces of equipment and the equipment in the specified equipment group except the first N pieces of equipment to obtain the serial numbers of the equipment.
[0134] That is, if the identification result is that the equipment with a smaller sorting number and the equipment with a larger sorting number in the first specified equipment group are mutually synthesis components and there are no other synthesis components between them, then update the sorting numbers of the corresponding two pieces of equipment to the smaller one of the two sorting numbers, and sequentially move forward and adjust the sorting numbers of the other equipment in the first specified equipment group and the equipment in the second specified equipment group to obtain the serial numbers of the equipment.
[0135] Step S204, identify the display status of each piece of equipment in the fixed area;
[0136] In this embodiment, the display state includes multiple display modes, namely selection marking, grayscale marking, and normal color display. In the actual game scenario, all items are in color, and the icons of each piece of equipment in the fixed area and the active area are also in color. For example, when it is necessary to purchase Equipment 1 in the current state, Equipment 1 is marked as selected, that is, the outline of Equipment 1 is thickened or highlighted. As shown in Figure 6 Equipment 1 in it. After the equipment purchase is completed, the icon of the equipment is displayed in grayscale, as shown in Figure 6 Equipment 2 in it (the grayscale is represented by the way of occlusion in the figure), while the equipment that has not been purchased is displayed in normal color, as shown in Figure 6 Equipment 3 - 12 in it (the color display is represented by the way of no occlusion in the figure).
[0137] In practical applications, the purchase process of each piece of equipment is gradually realized by continuously purchasing and synthesizing small parts or medium parts. In this regard, a semi - grayscale method is also provided here to display the progress of equipment purchase. For example, as shown in Figure 7 Equipment 1 in it. The semi - grayscale is represented by the way of semi - occlusion in the figure. The specific occlusion ratio is determined according to the purchase degree of the equipment, that is, the percentage of the amount of the purchased small parts in the total amount of Equipment 1.
[0138] In an alternative embodiment, the step of displaying the equipment interface on the graphical user interface in response to the first touch operation on the target control, where the equipment interface includes a fixed area and an active area, further includes:
[0139] Determine the display state of the equipment to be displayed according to the equipment type of the equipment to be displayed, where the equipment type includes any one of the following: purchased type, being purchased type, not purchased type, and to - be - sold type.
[0140] Furthermore, the adjustment of the equipment in the fixed area can be: when it is detected that the first piece of equipment in the fixed area is a purchased equipment, the second piece of equipment in the fixed area is adjusted to the being - purchased equipment, and the first piece of equipment is deleted from the equipment interface.
[0141] Furthermore, after deleting the first piece of equipment, it further includes:
[0142] Adjust the equipment installation order of all equipment after the first piece of equipment in the equipment installation order, and adjust the numbers of all equipment after the first piece of equipment in the equipment interface.
[0143] If the purchased equipment in the fixed area is small equipment, delete the small equipment from the fixed area, move the serial numbers of all equipment with serial numbers greater than that of the small equipment forward in sequence, and adjust the display status of the equipment with the same serial number as the small equipment to the status corresponding to the type of being purchased.
[0144] Specifically, such as Figure 5 In the equipment 4 and equipment 6 with serial number 4 in [reference], after equipment 4 is purchased, delete equipment 4 from the fixed area (area 22). Specifically, as Figure 8 shown, the equipment displayed in the fixed area includes equipment 1 → equipment 2 → equipment 3 → equipment 5 → equipment 6, and display equipment 6 as the display status corresponding to the type of being purchased; at the same time, move the subsequent positions of equipment 7 → equipment 8 → equipment 9 → equipment 10 → equipment 11 → equipment 12 forward and adjust. During this forward movement and adjustment process, if the number of equipment displayed in the fixed area is less than 6, select the one with the smallest serial number from the activity area and adjust it to be displayed in the fixed area. Of course, the user can also select one according to the actual situation of the battle situation and adjust it to the fixed area, and adjust the serial number. In the figure, it is sorted continuously following the serial number 5 of equipment 5, that is, adjusted to serial number 6, and the serial numbers of the equipment in the activity area are adjusted in sequence.
[0145] Step S205, in response to the drag operation on the equipment interface, determine the target equipment and the termination position from the activity area or the fixed area;
[0146] In this step, the drag operation refers to the sliding operation on the display screen. Determine the starting point and the ending point from the trajectory of the sliding operation, determine the target equipment selected by the sliding operation based on the starting point, and determine the destination position for adjusting the target equipment (i.e., the drag end position) based on the ending point.
[0147] In this embodiment, the target equipment can be the equipment in the activity area (i.e., the first designated equipment group), or the equipment in the fixed area (i.e., the second designated equipment group), and the setting can also be other equipment in the entire equipment interface (i.e., the equipment other than the first designated equipment group and the second designated equipment group); the termination position can be the fixed area, outside the equipment interface, and the setting can also be the activity area.
[0148] Specifically, the target device can be on the activity area or on the fixed area. In this regard, in response to the first drag operation of dragging the first target equipment in the activity area to the fixed area, or, in response to the second drag operation on the second target equipment in the fixed area, adjust the equipment in the fixed area and the corresponding equipment installation order.
[0149] Step S206: Display the target equipment at the termination position, and adjust the target equipment and the equipment in the fixed area that is sorted after the termination position.
[0150] In this embodiment, the dragging operation mainly adjusts the equipment in the active area to the fixed area, or adjusts the position of the equipment in the fixed area within the fixed area, or removes the equipment in the fixed area from the fixed area.
[0151] In an alternative embodiment, first determine the area where the target equipment and the termination position are located, and the current display states of the equipment corresponding to the target equipment and the termination position; then determine the corresponding adjustment method according to the area and / or the current display state, and adjust the target equipment, the equipment at and / or after the termination position based on the adjustment method.
[0152] Specifically, by responding to a first dragging operation of dragging a first target equipment in the active area to the fixed area, determine the termination position of the first dragging operation in the fixed area; or, respond to a second dragging operation for a second target equipment in the fixed area, and determine the termination position of the second dragging operation in the fixed area; then move the dragging equipment affected by the first dragging operation or the second dragging operation to the area corresponding to the termination position, and adjust the loading order of the dragging equipment, as well as adjust the equipment and the corresponding loading order that are sorted after the dragging equipment in the fixed area. Among them, the first target device can be selected from the active area through a sliding operation, that is, respond to the sliding operation for the active area, and control the equipment whose loading order is after the Nth position to scroll and display in the active area, so as to select the first target device.
[0153] In this embodiment, determining the area where the target equipment and the termination position are located includes any one of the following:
[0154] a. The target equipment is the equipment displayed in the active area, and the dragging end position is located in the fixed area;
[0155] b. The target equipment and the dragging end position are both located in the fixed area;
[0156] Among them, the dragging end position being located in the fixed area specifically includes between two pieces of equipment and at the position of one of the pieces of equipment;
[0157] c. The target equipment is the equipment displayed in the active area, and the dragging end position is located outside the equipment interface.
[0158] Determine that the current display status of the target equipment and the equipment corresponding to the dragging end position includes any one of the following: purchased, not purchased, and being purchased.
[0159] In an optional embodiment, the steps of moving the dragged equipment acted on by the first dragging operation or the second dragging operation to the area corresponding to the dragging end position, and adjusting the equipment sorted after the dragged equipment and the corresponding equipment installation order in the fixed area include:
[0160] If the termination position is between two pieces of equipment, insert the dragged equipment between the two pieces of equipment, and move the equipment sorted after the termination position and the serial numbers backward in sequence; or,
[0161] If the termination position is on the equipment in the fixed area, swap the dragged equipment with the equipment and the serial number at the termination position; or,
[0162] If the termination position is at the end area of all the equipment in the fixed area, move the dragged equipment to the last of the fixed area, and move the equipment sorted before the termination position forward in sequence.
[0163] In an optional embodiment, after the step of moving the dragged equipment to the last of the fixed area and moving the equipment sorted before the termination position forward in sequence, it further includes:
[0164] Determine the equipment type of the dragged equipment before adjustment;
[0165] If the equipment type of the dragged equipment before adjustment is the purchased type or the being purchased type, adjust the equipment type of the dragged equipment to the to-be-sold type.
[0166] In practical applications, if the dragging end position is between two pieces of equipment in the fixed area, move the target equipment from the active area to the position shown at the dragging end position, adjust the serial number of the target equipment to the serial number of the equipment with the larger serial number among the two pieces of equipment, and move the serial numbers of all the equipment sorted after the dragging end position backward in sequence;
[0167] If the dragging end position is on a certain piece of equipment in the fixed area and the display status of the certain piece of equipment is purchased, replace the target equipment with the certain piece of equipment, adjust the certain piece of equipment to the last position in the fixed area, and move the equipment after the last position backward in sequence;
[0168] If the drag end position is on a certain piece of equipment in the fixed area and the display status of the certain piece of equipment is the status corresponding to the purchased type or the type of being purchased, replace the target equipment with the certain piece of equipment, adjust the position of the certain piece of equipment to the last position in the fixed area and the display status to the status corresponding to the to-be-sold status type, and move the equipment after the last position backward in sequence;
[0169] If the drag end position is on a certain piece of equipment in the fixed area and the display status of the certain piece of equipment is not purchased, swap the serial number and position of the target equipment with the serial number and position of the certain piece of equipment.
[0170] In an optional embodiment, when the display status is of the to-be-sold type, after the step of adjusting the equipment at and / or after the drag end position, it further includes:
[0171] Obtain the virtual assets at the current moment, match the corresponding replacement equipment from the activity area based on the virtual assets and the selling virtual assets of the equipment of the to-be-sold type, and prompt and display in the game scene.
[0172] In practical applications, if the target equipment is the equipment displayed in the activity area and the drag end position is outside the equipment interface, adjust the position of the target equipment to the last position in the fixed area and the display status to the status corresponding to the to-be-sold type, and move the equipment after the last position backward in sequence; as Figure 8 、 9 and shown in 14, the target equipment is Figure 8 the equipment 5 in. After dragging the equipment 5 outside the equipment interface, the position of the equipment 5 is adjusted to the last position in the fixed area, as Figure 9 and 14 shown, and it is displayed in grayscale, indicating the to-be-sold type. At the same time, the icon of the equipment 5 is displayed on the right side of the icon 1, and the selling virtual assets are also displayed. As the user's virtual assets increase, when the total virtual assets reach the purchase quota of a certain piece of equipment in the activity area, the replaceable equipment is displayed at the position of the icon 1.
[0173] In an optional embodiment, after the step of responding to the drag operation on the equipment interface and adjusting the pre-purchased equipment in the fixed area, it further includes:
[0174] Respond to the second touch operation on the equipment in the fixed area, and display the corresponding equipment sub-assembly list in the equipment interface;
[0175] In response to a third drag operation of dragging the equipment in the equipment small piece synthesis list to the fixed area, the dragged small piece of equipment is displayed in the fixed area, and the equipment in the fixed area and the corresponding equipment order are adjusted.
[0176] In practical applications, such as Figure 10 and 15 As shown, when the second touch operation is selected Figure 8 When equipment 5 is selected, the third display area 23 of the equipment interface is called out, and the equipment gadgets of equipment 5 are displayed in the third display area 23, and then the third drag operation on each equipment gadget in the third display area 23 is detected, and the selected equipment gadget is adjusted according to the third drag operation. The adjustment here includes setting a pre-order purchase and dragging to a fixed area. If it is a pre-order purchase, the pre-order setting can be made by double-clicking the equipment gadget; if it is dragged to a fixed area, it is inserted or swapped according to the dragging end position, and the position or order of the remaining equipment in the fixed area is adjusted. The adjustment is the same as the above-mentioned adjustment method, and also includes the adjustment of the display status.
[0177] The above-mentioned method for controlling game equipment is applied to a mobile terminal. By responding to a first touch operation, a fixed area and an active area are displayed in a game scene, and a first designated equipment group and a second designated equipment group are displayed in the fixed area and the active area respectively. In response to a second touch operation, the target equipment is determined, and the order of pre-ordered equipment in the fixed area is adjusted. By setting the equipment interface of the fixed area and the active area, a player is provided with an interactive method that is more cognitive and quicker to adjust the order of equipment, and an interactive method for automatic comparison and quick replacement of sold unnecessary equipment is provided, so that while the player is operating, it does not affect the player's use of the mobile joystick and ordinary attacks, and does not delay the journey and money-making; at the same time, it does not affect the player's observation of the small map, thereby improving the user's gaming experience.
[0178] See also Figure 11 FIG. 1 is a schematic diagram of another embodiment of a method for controlling a gaming device. In this embodiment, an equipment interface in the shape of a ring, i.e., a roulette ring, is used as an example for explanation. The method for controlling the gaming device includes the following steps:
[0179] Step S301, displaying a graphical user interface on a terminal, wherein the graphical user interface displays a game scene and a target control;
[0180] In this embodiment, the graphical user interface includes a game interface 120, a thumbnail area 121, an equipment purchase display area 122, an operation area 123, and other control areas 124. Among them, the game interface 120 is the background part of the graphical user interface, and the thumbnail area 121, the equipment purchase display area 122, the operation area 123, and other control areas 124 are respectively displayed on the background part, as Figure 12 shown.
[0181] Step S302: Respond to the first touch operation on the target control, and display an equipment interface containing a specified equipment group in the graphical user interface. Among them, the equipment interface includes a fixed area and a movable area. The fixed area is used to display the equipment with the first N installation orders, and the movable area is used to display the equipment with the installation order after the Nth position, where N is a positive integer;
[0182] In this embodiment, the first touch operation may be the first touch operation on the sensor at the edge position of the terminal by the user, or the touch operation on the equipment purchase display area 122 in the graphical user interface. Preferably, the touch operation in the equipment purchase display area 122 is selected here. In practical applications, a target control 1221 and equipment thumbnails 1222 are displayed in the equipment purchase display area 122. The first touch operation refers to the click operation on the target control 1221. After detecting that the target control 1221 is clicked, the equipment interface 125 is retrieved, where the equipment interface 125 is in the shape of a roulette ring. As Figure 12 shown, the roulette ring is divided into a fixed area 1251 and a movable area 1252. A button is displayed at the upper left corner of the roulette ring, and this button can open the original full-screen equipment interface. A close button is displayed at the upper right corner. The roulette ring defaults to display 12 pieces of equipment. The installation order is at the upper left corner of the equipment. The equipment with the first 6 numbers (six-piece set) is in the fixed position ( Figure 12 the right half of the middle, and there are at least 6 fixed positions), and the others can be dragged and scrolled ( Figure 12 the left half of the middle).
[0183] The sorting of the display of the equipment in the roulette ring is specifically displayed in the following manner:
[0184] Method 1: The installation numbers are basically in clockwise order. However, when equipment A is before equipment B, equipment A is a synthesis component of equipment B, and there is no other equipment with A as a synthesis component between equipment A and equipment B, then equipment B and equipment A have the same number (as Figure 12 the two numbers 4 in the figure);
[0185] Method 2: If a small item has been purchased and it is a component of the equipment being purchased with the smallest serial number, then this small item disappears, and the subsequent equipment moves forward in sequence, and the serial numbers are changed accordingly (as shown in the figure, when item 5 becomes purchased and the second item 4 becomes being purchased in order, then the first item 4 disappears, the original item 5 becomes item 4, the original second item 4 becomes item 5, and other equipment also moves forward in sequence, but the serial numbers remain unchanged; the number of fixed-position grids changes from 7 to 6).
[0186] In practical applications, the equipment displayed in the fixed area and the active area of the roulette ring also includes multiple states, namely purchased, being purchased, not purchased, to be sold, etc. For each state, there are corresponding display contents and display methods, as shown in Table 1 below.
[0187] Table 1 Display of various states of equipment
[0188] Equipment type Amount below Status color Purchased Selling amount Grey state Purchasing Remaining amount excluding sold small items Proportion of sold small items is grey state Not purchased Required amount Normal state Pending sale Selling amount Warning sign
[0189] Step S303: Respond to the drag operation on the equipment in the active area or the fixed area, determine the target equipment, and adjust the equipment in the fixed area;
[0190] In this step, by releasing the hand at certain positions when dragging the equipment on the disk, adjustments such as insertion / replacement / deletion of the equipment can be achieved to adjust the equipment installation order.
[0191] Specifically, respond to the first drag operation of dragging the first target equipment in the active area to the fixed area, or respond to the second drag operation on the second target equipment in the fixed area, and adjust the equipment in the fixed area and the corresponding equipment installation order.
[0192] Furthermore, after the equipment adjustment order, it can be purchased with one key on the left side of the screen (equipment purchase display area 122 in the figure) when there is enough gold. At the same time, the equipment to be sold will also appear on the left side of the screen at an appropriate time, and it can be sold or replaced with other equipment with one key.
[0193] In this embodiment, when it is detected that the user drags the equipment in the roulette ring, when it is determined that the starting position and the ending position of the drag are the active area and the fixed area respectively, the corresponding adjustment method is determined according to the area where the dragged equipment is located and the display state. The adjustment method is as shown in Table 2 below, which is the adjustment rule after the equipment is dragged.
[0194] Table 2 Adjustment rules after the equipment is dragged
[0195]
[0196] Step S304, in response to a second touch operation on the equipment in the display fixed area, a corresponding equipment widget synthesis list is displayed in the equipment interface;
[0197] Furthermore, if it is detected that the user clicks on a certain equipment, a combination of the equipment will appear in the circle. Click any equipment in the combination, and all equipment containing the small piece in the current circle will light up, such as Figure 13 As shown, all the small pieces of equipment with the selected serial number 5 are displayed in the middle area of the roulette ring.
[0198] Step S305, in response to the third drag operation on the equipment small piece synthesis list, the selected small piece of equipment is displayed in a fixed area.
[0199] In this step, in response to the third drag operation of dragging the equipment in the equipment small piece synthesis list to the fixed area, the dragged small piece of equipment is displayed in the fixed area, and the equipment in the fixed area and the corresponding equipment order are adjusted.
[0200] Specifically, on the basis of displaying the small pieces, the user drags the small pieces in the middle area to move them to the fixed area, so that the equipment in the synthesis is dragged to be inserted or replaced into the roulette ring.
[0201] Furthermore, you can also drag the equipment in the fixed area to the outside of the roulette ring to quickly sell and buy the equipment, such as Figure 12 As shown, in addition to quick buy, quick sell and quick replace are added to the quick operations on the left side of the screen;
[0202] For quick purchase of equipment: press the order of the roulette rings, and the quick purchase control will appear on the right;
[0203] For quick sale of equipment: When the equipment enters the waiting-to-sell state within the preset time, a quick sale prompt will appear. Click the equipment to sell it. If no operation is performed after the preset time, the prompt will disappear;
[0204] For quick replacement of equipment: Equipment quick replacement: calculate the total of the current unspent gold coins and the gold coins of the equipment to be sold. If the gold coins required for the next rolling equipment are met, it will directly prompt that the equipment can be replaced, and the buy, sell and replace operation can be performed with one click.
[0205] The method of controlling game equipment provided above realizes quick adjustment of equipment on the equipment interface by setting fixed areas and active areas to display designated equipment groups, and the operation of adjusting the equipment sequence in real time after the equipment sequence is set is simple. Compared with the existing technology, there is no need to readjust all equipment combinations and to achieve less occlusion of game scenes, thereby improving the user's gaming experience.
[0206] Corresponding to the above method embodiments, applied to a client device, see Figure 16 A schematic diagram of a device for controlling game equipment shown in the figure. Among them, a graphical user interface is displayed through a terminal device. The graphical user interface includes at least part of a game scene and a target control. The game scene includes a virtual character controlled by the terminal device. The equipment includes:
[0207] A first display module 1401, configured to respond to a first touch operation on the target control and display an equipment interface on the graphical user interface. The equipment interface includes a fixed area and an active area. Among them, the fixed area is used to display the equipment with the first N positions in the equipment installation order, and the active area is used to display the equipment after the Nth position in the equipment installation order. N is a positive integer;
[0208] An adjustment module 1402, configured to respond to a first drag operation of dragging a first target equipment in the active area to the fixed area, or respond to a second drag operation on a second target equipment in the fixed area, and adjust the equipment in the fixed area and the corresponding equipment installation order.
[0209] The above first display module 1401 is further configured to:
[0210] Respond to a sliding operation on the active area, and control the equipment after the Nth position in the equipment installation order to be scrolled and displayed in the active area.
[0211] The above first display module 1401 is specifically configured to:
[0212] Respond to a first touch operation on the target control, and display the equipment interface in the graphical user interface, where the equipment interface includes a fixed area and an active area;
[0213] Obtain a specified equipment group corresponding to the virtual character, where the specified equipment group includes multiple pieces of equipment;
[0214] Display the equipment with the first N positions in the specified equipment group in the fixed area, and display the equipment after the Nth position in the specified equipment group in the active area.
[0215] The above first display module 1401 is specifically configured to:
[0216] Obtain the character type of the virtual character;
[0217] Based on the character type, determine the corresponding specified equipment group, and use the specified equipment group as the specified equipment group corresponding to the virtual character.
[0218] The above first display module 1401 is specifically configured to:
[0219] Determine the numbers of the equipment in the specified equipment group according to the preset equipment purchase order;
[0220] According to the order from small to large of the said numbers, display the first N equipment in the equipment purchase order in sequence in the fixed area;
[0221] Display at least part of the equipment in the specified equipment group other than the equipment in the fixed area in sequence in the active area.
[0222] The above adjustment module 1402 is further used for:
[0223] Display the number of the corresponding equipment in the associated area of each equipment in the equipment interface.
[0224] The above adjustment module 1402 is further used for:
[0225] When it is detected that the first equipment in the fixed area is a synthesis component of the second equipment in the fixed area, and there are no other synthesis components of the second equipment between the first equipment and the second equipment, adjust the number corresponding to the second equipment to be the same as the number of the first equipment, where the first equipment is arranged in front of the second equipment in the fixed area.
[0226] The above adjustment module 1402 is further used for:
[0227] In response to the adjustment of the number corresponding to the second equipment, adjust the numbers corresponding to the equipment after the second equipment in the equipment interface.
[0228] The above game equipment control device further includes a second display module 1403, which is used for:
[0229] Determine the display status of the equipment to be displayed according to the equipment type of the equipment to be displayed, where the equipment type includes any one of the following: purchased type, being purchased type, not purchased type, and to be sold type.
[0230] The above game equipment control device further includes a third display module 1404, which is used for:
[0231] When it is detected that the first equipment in the fixed area is a purchased equipment, adjust the second equipment in the fixed area to be an equipment being purchased, and delete the first equipment from the equipment interface.
[0232] The above adjustment module 1402 is specifically used for:
[0233] In response to a first dragging operation of dragging a first target equipment in the active area to the fixed area, determine the termination position of the first dragging operation in the fixed area; or, in response to a second dragging operation on a second target equipment in the fixed area, determine the termination position of the second dragging operation in the fixed area.
[0234] Move the dragging equipment affected by the first dragging operation or the second dragging operation to the area corresponding to the termination position, adjust the equipment installation order of the dragging equipment, and adjust the equipment sorted after the dragging equipment in the fixed area and the corresponding equipment installation order.
[0235] The above adjustment module 1402 is specifically used for:
[0236] If the termination position is between two pieces of equipment, insert the dragging equipment between the two pieces of equipment, and move the equipment sorted after the termination position and the serial numbers backward in sequence; or,
[0237] If the termination position is on the equipment in the fixed area, swap the dragging equipment with the equipment and the serial numbers at the termination position; or,
[0238] If the termination position is at the end area of all the equipment in the fixed area, move the dragging equipment to the last of the fixed area, and move the equipment sorted before the termination position forward in sequence.
[0239] The above game equipment control device further includes a fourth display module 1405, which is used for:
[0240] Determine the equipment type of the dragging equipment before adjustment;
[0241] If the equipment type of the dragging equipment before adjustment is the purchased type or the type being purchased, adjust the equipment type of the dragging equipment to the type to be sold.
[0242] The above game equipment control device further includes a fifth display module 1406, which is used for:
[0243] Obtain the amount of funds currently available to the virtual character, match the corresponding replacement equipment from the active area based on the virtual assets and the selling amount of the equipment of the type to be sold, and prompt and display it in the graphical user interface.
[0244] The above adjustment module 1402 is further used for:
[0245] In response to a second touch operation on the equipment in the fixed area, display the corresponding equipment sub - assembly list in the equipment interface;
[0246] In response to a third drag operation of dragging an equipment item in the equipment synthesis list to the fixed area, the dragged small equipment item is displayed in the fixed area, and the equipment in the fixed area and the corresponding equipment purchase order are adjusted.
[0247] The above equipment interface is in a circular ring shape.
[0248] In summary, a graphical user interface is displayed on a terminal, where the graphical user interface displays a game scene and a target control; in response to a first touch operation on the target control, an equipment interface containing a specified equipment group is displayed in the game scene; wherein, the equipment interface includes a fixed area and an active area; in response to a drag operation on the equipment interface, the pre-purchased equipment in the fixed area is adjusted. In this method, a specified equipment group is displayed based on an equipment interface provided with a fixed area and an active area, and the equipment in the fixed area of the equipment interface is adjusted based on the drag operation, thereby realizing the adjustment of the equipment purchase order in sequence, being able to cover most battle situations, and replacing the entire equipment interface with the equipment interface, avoiding the problem that the interface blocks the game scene and gradually manually pre-purchasing, which affects the user's game experience.
[0249] This embodiment further provides a user terminal device, including a processor and a memory, where the memory stores machine-executable instructions that can be executed by the processor, and the processor executes the machine-executable instructions to implement the above method for controlling game equipment. The user terminal device can be a server or a terminal device.
[0250] See Figure 17 As shown, the user terminal device includes a processor 1100 and a memory 1101. The memory 1101 stores machine-executable instructions that can be executed by the processor 1100, and the processor 1100 executes the machine-executable instructions to implement the above method for controlling game equipment.
[0251] Furthermore, Figure 17 The user terminal device shown further includes a bus 1102 and a communication interface 1103, and the processor 1100, the communication interface 1103, and the memory 1101 are connected through the bus 1102.
[0252] Among them, the memory 1101 may include high-speed random access memory (RAM), and may also include non-volatile memory, such as at least one disk memory. The communication connection between this system network element and at least one other network element is realized through at least one communication interface 1103 (which can be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. can be used. The bus 1102 can be an ISA bus, a PCI bus, an EISA bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For the sake of representation, Figure 17 only a bidirectional arrow is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0253] The processor 1100 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the integrated logic circuit in the hardware of the processor 1100 or instructions in the form of software. The above-mentioned processor 1100 can be a general-purpose processor, including a central processing unit (CPU for short), a network processor (NP for short), etc.; it can also be a digital signal processor (DSP for short), an application specific integrated circuit (ASIC for short), a field programmable gate array (FPGA for short) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. It can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present invention. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in combination with the embodiments of the present invention can be directly embodied as being executed and completed by a hardware decoding processor, or executed and completed by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the art such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register, etc. This storage medium is located in the memory 1101, and the processor 1100 reads the information in the memory 1101 and combines its hardware to complete the following steps:
[0254] Display a graphical user interface through a terminal device, the graphical user interface includes at least part of a game scene and a target control, and the game scene includes a virtual character controlled by the terminal device;
[0255] In response to a first touch operation on the target control, an equipment interface is displayed on the graphical user interface. The equipment interface includes a fixed area and a movable area. Among them, the fixed area is used to display the equipment with the first N positions in the equipment-outfitting order, and the movable area is used to display the equipment with the positions after the Nth position in the equipment-outfitting order, where N is a positive integer;
[0256] In response to a first drag operation of dragging a first target equipment in the movable area to the fixed area, or in response to a second drag operation on a second target equipment in the fixed area, the equipment in the fixed area and the corresponding equipment-outfitting order are adjusted.
[0257] The above method for controlling game equipment further includes:
[0258] In response to a swipe operation on the movable area, control the equipment with the positions after the Nth position in the equipment-outfitting order to scroll and display in the movable area.
[0259] The above step of displaying an equipment interface on the graphical user interface in response to a first touch operation on the target control includes:
[0260] In response to a first touch operation on the target control, display the equipment interface in the graphical user interface, where the equipment interface includes a fixed area and a movable area;
[0261] Obtain a specified equipment group corresponding to the virtual character, where the specified equipment group includes multiple pieces of equipment;
[0262] Display the equipment with the first N positions in the equipment-outfitting order in the specified equipment group in the fixed area, and display the equipment with the positions after the Nth position in the specified equipment group in the movable area.
[0263] The above obtaining a specified equipment group corresponding to the virtual character includes:
[0264] Obtain the character type of the virtual character;
[0265] Based on the character type, determine the corresponding specified equipment group, and use the specified equipment group as the specified equipment group corresponding to the virtual character.
[0266] The above step of displaying the equipment with the first N positions in the equipment-outfitting order in the specified equipment group in the fixed area and displaying the equipment with the positions after the Nth position in the specified equipment group in the movable area includes:
[0267] Determine the numbers of the equipment in the specified equipment group according to the preset equipment-outfitting order;
[0268] In the ascending order of the said numbers, display the first N items in the said equipment loading order in sequence in the said fixed area;
[0269] Display at least some of the equipment in the said specified equipment group except the equipment in the said fixed area in sequence in the said active area.
[0270] The above method for controlling game equipment further includes:
[0271] Display the numbers of the corresponding equipment in the associated areas of each equipment in the said equipment interface respectively.
[0272] The above method for controlling game equipment further includes:
[0273] When it is detected that the first equipment in the said fixed area is a synthesis component of the second equipment in the said fixed area, and there are no other synthesis components of the second equipment between the first equipment and the second equipment, adjust the number corresponding to the second equipment to be the same as the number of the first equipment, where the first equipment is arranged in front of the second equipment in the said fixed area.
[0274] The above method for controlling game equipment further includes:
[0275] In response to the adjustment of the number corresponding to the second equipment, adjust the numbers of the equipment corresponding to the equipment after the second equipment in the said equipment interface.
[0276] The above method for controlling game equipment further includes:
[0277] Determine the display status of the equipment to be displayed according to the equipment type of the equipment to be displayed, where the equipment type includes any one of the following: purchased type, being purchased type, not purchased type, and to be sold type.
[0278] The above method for controlling game equipment further includes:
[0279] When it is detected that the first equipment in the said fixed area is purchased equipment, adjust the second equipment in the said fixed area to being purchased equipment, and delete the first equipment from the said equipment interface.
[0280] After deleting the first equipment as above, it further includes:
[0281] Adjust the equipment loading order of all the equipment after the first equipment in the said equipment loading order, and adjust the numbers of all the equipment with numbers after the first equipment in the said equipment interface.
[0282] The step of, in response to the first dragging operation that drags the first target equipment in the active area to the fixed area, or in response to the second dragging operation for the second target equipment in the fixed area, adjusting the equipment in the fixed area and the corresponding equipment installation order includes:
[0283] In response to the first dragging operation that drags the first target equipment in the active area to the fixed area, determining the termination position of the first dragging operation in the fixed area; or, in response to the second dragging operation for the second target equipment in the fixed area, determining the termination position of the second dragging operation in the fixed area;
[0284] Moving the dragged equipment affected by the first dragging operation or the second dragging operation to the area corresponding to the termination position, adjusting the equipment installation order of the dragged equipment, and adjusting the equipment and the corresponding equipment installation order that are sorted after the dragged equipment in the fixed area.
[0285] The above step of moving the dragged equipment affected by the first dragging operation or the second dragging operation to the area corresponding to the dragging end position, and adjusting the equipment and the corresponding equipment installation order that are sorted after the dragged equipment in the fixed area includes:
[0286] If the termination position is between two pieces of equipment, inserting the dragged equipment between the two pieces of equipment, and moving the equipment sorted after the termination position and the serial numbers backward in sequence; or,
[0287] If the termination position is on the equipment in the fixed area, swapping the dragged equipment with the equipment and the serial numbers at the termination position; or,
[0288] If the termination position is at the end area of all the equipment in the fixed area, moving the dragged equipment to the last of the fixed area, and moving the equipment sorted before the termination position forward in sequence.
[0289] After the above step of moving the dragged equipment to the last of the fixed area and moving the equipment sorted before the termination position forward in sequence, it further includes:
[0290] Determining the equipment type of the dragged equipment before adjustment;
[0291] If the equipment type of the dragged equipment before adjustment is the purchased type or the type being purchased, adjusting the equipment type of the dragged equipment to the type to be sold.
[0292] The above method for controlling game equipment further includes:
[0293] Obtain the amount of funds that the virtual character currently has, and match corresponding replacement equipment from the activity area based on the virtual assets and the selling amount of the equipment of the type to be sold, and prompt and display it in the graphical user interface.
[0294] After the above step of adjusting the equipment in the fixed area and the corresponding equipment loading order in response to the first dragging operation of dragging the first target equipment in the activity area to the fixed area, or in response to the second dragging operation for the second target equipment in the fixed area, the following steps are further included:
[0295] In response to the second touch operation for the equipment in the fixed area, display the corresponding equipment component synthesis list in the equipment interface;
[0296] In response to the third dragging operation of dragging the equipment in the equipment component synthesis list to the fixed area, display the dragged small-piece equipment in the fixed area, and adjust the equipment in the fixed area and the corresponding equipment loading order.
[0297] The above equipment interface is in a circular shape.
[0298] In summary, based on the equipment interface with a fixed area and an activity area to display the specified equipment group, and adjusting the equipment in the fixed area of the equipment interface based on the dragging operation, the equipment loading order is adjusted sequentially, which can cover most battle scenarios, and by using the equipment interface instead of the entire equipment interface, the problem of interface occlusion of the game scene and gradually manual pre-purchase, which affects the user's game experience, is avoided.
[0299] This embodiment also provides a machine-readable storage medium. The machine-readable storage medium stores machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions cause the processor to implement the following steps:
[0300] Display a graphical user interface through a terminal device. The graphical user interface includes at least part of the game scene and target controls. The game scene includes a virtual character controlled by the terminal device;
[0301] In response to the first touch operation for the target control, display an equipment interface on the graphical user interface. The equipment interface includes a fixed area and an activity area. Among them, the fixed area is used to display the equipment with the first N loading orders, and the activity area is used to display the equipment after the Nth loading order. N is a positive integer;
[0302] In response to a first dragging operation of dragging a first target equipment in the active area to the fixed area, or in response to a second dragging operation on a second target equipment in the fixed area, adjust the equipment in the fixed area and the corresponding equipment installation order.
[0303] The above method for controlling game equipment further includes:
[0304] In response to a sliding operation on the active area, control the equipment after the Nth position in the equipment installation order to scroll and display in the active area.
[0305] The above step of displaying an equipment interface on the graphical user interface in response to a first touch operation on the target control includes:
[0306] In response to a first touch operation on the target control, display an equipment interface in the graphical user interface, where the equipment interface includes a fixed area and an active area;
[0307] Obtain a specified equipment group corresponding to the virtual character, where the specified equipment group includes multiple pieces of equipment;
[0308] Display the equipment with the first N positions in the equipment installation order in the specified equipment group in the fixed area, and display the equipment with the installation order after the Nth position in the specified equipment group in the active area.
[0309] The above obtaining the specified equipment group corresponding to the virtual character includes:
[0310] Obtain the character type of the virtual character;
[0311] Based on the character type, determine the corresponding specified equipment group, and use the specified equipment group as the specified equipment group corresponding to the virtual character.
[0312] The above step of displaying the equipment with the first N positions in the equipment installation order in the specified equipment group in the fixed area and displaying the equipment with the installation order after the Nth position in the specified equipment group in the active area includes:
[0313] Determine the numbers of the equipment in the specified equipment group according to the preset equipment installation order;
[0314] In the order from smallest to largest of the numbers, display the equipment with the first N positions in the equipment installation order in the fixed area in sequence;
[0315] Display at least some of the equipment in the specified equipment group other than the equipment in the fixed area in the active area in sequence.
[0316] The above method for controlling game equipment further includes:
[0317] In the associated area of each piece of equipment in the equipment interface, the numbers of the corresponding pieces of equipment are respectively displayed.
[0318] The above method for controlling game equipment further includes:
[0319] When it is detected that the first piece of equipment in the fixed area is a synthesis component of the second piece of equipment in the fixed area, and there are no other synthesis components of the second piece of equipment between the first piece of equipment and the second piece of equipment, the number corresponding to the second piece of equipment is adjusted to be the same as the number of the first piece of equipment, where the first piece of equipment is arranged in front of the second piece of equipment in the fixed area.
[0320] The above method for controlling game equipment further includes:
[0321] In response to the adjustment of the number corresponding to the second piece of equipment, the numbers corresponding to the equipment after the second piece of equipment in the equipment interface are adjusted.
[0322] The above method for controlling game equipment further includes:
[0323] Determine the display status of the equipment to be displayed according to the equipment type of the equipment to be displayed, where the equipment type includes any one of the following: purchased type, being purchased type, not purchased type, and to be sold type.
[0324] The above method for controlling game equipment further includes:
[0325] When it is detected that the first piece of equipment in the fixed area is a purchased piece of equipment, the second piece of equipment in the fixed area is adjusted to be a piece of equipment being purchased, and the first piece of equipment is deleted from the equipment interface.
[0326] After deleting the first piece of equipment as described above, it further includes:
[0327] Adjust the equipment installation order of all equipment after the first piece of equipment in the equipment installation order, and adjust the numbers of all equipment with numbers after the first piece of equipment in the equipment interface.
[0328] The above step of adjusting the equipment and the corresponding equipment installation order in the fixed area in response to dragging the first target equipment in the active area to the fixed area, or in response to the second dragging operation for the second target equipment in the fixed area, includes:
[0329] In response to a first dragging operation of dragging a first target equipment in the active area to the fixed area, determine the termination position of the first dragging operation in the fixed area; or, in response to a second dragging operation for a second target equipment in the fixed area, determine the termination position of the second dragging operation in the fixed area.
[0330] Move the dragging equipment affected by the first dragging operation or the second dragging operation to the area corresponding to the termination position, adjust the equipment installation order of the dragging equipment, and adjust the equipment sorted after the dragging equipment in the fixed area and the corresponding equipment installation order.
[0331] The steps of moving the dragging equipment affected by the first dragging operation or the second dragging operation to the area corresponding to the dragging end position, and adjusting the equipment sorted after the dragging equipment in the fixed area and the corresponding equipment installation order include:
[0332] If the termination position is between two equipments, insert the dragging equipment between the two equipments, and move the equipments sorted after the termination position and the serial numbers backward in sequence; or,
[0333] If the termination position is on the equipment in the fixed area, swap the dragging equipment with the equipment and the serial number at the termination position; or,
[0334] If the termination position is at the end area of all the equipments in the fixed area, move the dragging equipment to the last of the fixed area, and move the equipments sorted before the termination position forward in sequence.
[0335] After the step of moving the dragging equipment to the last of the fixed area and moving the equipments sorted before the termination position forward in sequence, the following steps are further included:
[0336] Determine the equipment type of the dragging equipment before adjustment;
[0337] If the equipment type of the dragging equipment before adjustment is the purchased type or the type being purchased, adjust the equipment type of the dragging equipment to the type to be sold.
[0338] The above method for controlling game equipment further includes:
[0339] Obtain the amount of existing funds of the virtual character at the current moment, match corresponding replacement equipments from the active area based on the virtual assets and the selling amount of the equipments of the type to be sold, and prompt and display in the graphical user interface.
[0340] After the above-mentioned first dragging operation of dragging the first target equipment in the active area to the fixed area in response to the response, or after the step of adjusting the equipment in the fixed area and the corresponding equipment purchase order in response to the second dragging operation for the second target equipment in the fixed area, the method further includes:
[0341] In response to a second touch operation on the equipment in the fixed area, a corresponding list of small equipment syntheses is displayed in the equipment interface;
[0342] In response to a third dragging operation of dragging the equipment in the small equipment synthesis list to the fixed area, the dragged small equipment is displayed in the fixed area, and the equipment in the fixed area and the corresponding equipment purchase order are adjusted.
[0343] The above-mentioned equipment interface is in a circular shape.
[0344] In summary, based on an equipment interface provided with a fixed area and an active area to display a specified equipment group, and adjusting the equipment in the fixed area of the equipment interface based on a dragging operation, the equipment purchase order can be adjusted in sequence, covering most battle scenarios. Moreover, by using the equipment interface to replace the entire equipment interface, the problem of interface occlusion of the game scene and gradually manual pre-purchase, which affects the user's game experience, is avoided.
[0345] The computer program product of the method and related devices for controlling game equipment provided by the embodiments of the present invention includes a computer-readable storage medium storing program codes. The instructions included in the program codes can be used to execute the methods described in the foregoing method embodiments. For specific implementation, reference can be made to the method embodiments, which will not be elaborated here.
[0346] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the above-described systems and devices can refer to the corresponding processes in the foregoing method embodiments, which will not be elaborated here.
[0347] In addition, in the description of the embodiments of the present invention, unless otherwise clearly specified and limited, the terms "installation", "connection", and "connection" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium, and it can be the communication inside two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific situations.
[0348] When the above-mentioned 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 invention, in essence, or the part that contributes to the prior art or a part of this technical solution can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs.
[0349] In the description of the present invention, it should be noted that the orientation or positional relationship indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. is based on the orientation or positional relationship shown in the drawings. It is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it should not be construed as a limitation to the present invention. In addition, the terms "first", "second", "third" are only used for descriptive purposes and cannot be construed as indicating or implying relative importance.
[0350] Finally, it should be noted that the above embodiments are only specific embodiments of the present invention, used to illustrate the technical solutions of the present invention, rather than limiting them. The protection scope of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art within the technical scope disclosed by the present invention can still modify the technical solutions described in the foregoing embodiments, or can easily think of changes, or make equivalent replacements for some of the technical features; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be covered by the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.
Claims
1. A method for controlling a game device, characterized in that Displaying a graphical user interface through a terminal device, the graphical user interface includes at least part of a game scene and a target control, the game scene includes a virtual character controlled by the terminal device, and the method includes: In response to a first touch operation on the target control, displaying an equipment interface on the graphical user interface, the equipment interface comprising a fixed area and an active area, wherein the fixed area is used to display equipment in the first N positions of the installation order, and the active area is used to display equipment after the Nth position of the installation order in the form of a scrollable list, where N is a positive integer; In response to a first drag operation of dragging a first target equipment in the active area to the fixed area, or in response to a second drag operation of dragging a second target equipment in the fixed area, the order of equipment in the fixed area is adjusted according to the drag termination position.
2. The method according to claim 1, wherein The method further comprises: In response to a sliding operation on the active area, the equipment after the Nth equipment order is controlled to be scrolled and displayed in the active area.
3. The method according to claim 1, characterized in that The step of displaying the equipment interface on the graphical user interface in response to the first touch operation on the target control comprises: In response to a first touch operation on the target control, displaying an equipment interface in the graphical user interface, wherein the equipment interface includes a fixed area and an active area; Acquire a designated equipment group corresponding to the virtual character, wherein the designated equipment group includes a plurality of equipments; The equipment in the first N positions in the order of equipment in the designated equipment group is displayed in the fixed area, and the equipment in the order of equipment after the Nth position in the designated equipment group is displayed in the active area.
4. The method according to claim 3, wherein The obtaining of a designated equipment group corresponding to the virtual character comprises: Obtaining the role type of the virtual role; A corresponding designated equipment group is determined based on the character type, and the designated equipment group is used as the designated equipment group corresponding to the virtual character.
5. The method according to claim 3, characterized in that, The step of displaying the equipment in the first N positions of the equipment order in the designated equipment group in the fixed area, and displaying the equipment in the designated equipment group after the Nth position of the equipment order in the active area, comprises: Determine the number of each equipment in the specified equipment group according to a preset order of equipment; In order of the numbers from small to large, the first N items in the order of equipment are displayed in the fixed area in sequence; At least part of the equipment in the designated equipment group except the equipment in the fixed area is displayed in sequence in the active area.
6. The method according to claim 5, characterized in that, The method further comprises: In the equipment interface, the associated area of each equipment displays the number of the corresponding equipment.
7. The method according to claim 5, wherein The method further comprises: When it is detected that the first equipment in the fixed area is a synthetic component of the second equipment in the fixed area, and no other synthetic components of the second equipment are contained between the first equipment and the second equipment, the number corresponding to the second equipment is adjusted to the same number as that of the first equipment, wherein the first equipment is arranged in front of the second equipment in the fixed area.
8. The method according to claim 7, wherein The method further comprises: In response to the adjustment of the number corresponding to the second piece of equipment, adjust the numbers corresponding to the equipment after the second piece of equipment in the equipment interface.
9. The method according to claim 7, wherein The method further includes: Determine the display status of the equipment to be displayed according to the equipment type of the equipment to be displayed, where the equipment type includes any one of the following: purchased type, in-purchase type, unpurchased type, and to-be-sold type.
10. The method according to claim 9, wherein The method further includes: When it is detected that the first piece of equipment in the fixed area is a purchased piece of equipment, adjust the second piece of equipment in the fixed area to the in-purchase type, and delete the first piece of equipment from the equipment interface.
11. The method according to claim 10, wherein After deleting the first piece of equipment, it further includes: Adjust the equipment installation order of all the equipment after the first piece of equipment in the equipment installation order, and adjust the numbers of all the equipment with numbers after the first piece of equipment in the equipment interface.
12. The method according to claim 9, wherein The step of adjusting the equipment installation order in the fixed area according to the drag termination position in response to the first drag operation of dragging the first target equipment in the active area to the fixed area, or in response to the second drag operation on the second target equipment in the fixed area, includes: In response to the first drag operation of dragging the first target equipment in the active area to the fixed area, determine the termination position of the first drag operation in the fixed area; or, in response to the second drag operation on the second target equipment in the fixed area, determine the termination position of the second drag operation in the fixed area; Move the dragged equipment affected by the first drag operation or the second drag operation to the area corresponding to the termination position, adjust the equipment installation order of the dragged equipment, and adjust the equipment and the corresponding equipment installation order sorted after the dragged equipment in the fixed area.
13. The method according to claim 12, characterized in that, The step of moving the dragged equipment affected by the first drag operation or the second drag operation to the area corresponding to the drag termination position, and adjusting the equipment and the corresponding equipment installation order sorted after the dragged equipment in the fixed area includes: If the termination position is between two pieces of equipment, insert the dragged equipment between the two pieces of equipment, and move the equipment sorted after the termination position and the serial numbers one by one backward; or, If the termination position is on the equipment in the fixed area, swap the dragged equipment with the equipment and the serial numbers at the termination position; or, If the termination position is in the end area of all the equipment in the fixed area, move the dragged equipment to the end of the fixed area, and move the equipment sorted before the termination position forward one by one.
14. The method according to claim 13, wherein After the step of moving the dragged equipment to the end of the fixed area and moving the equipment sorted before the termination position forward one by one, it further includes: Determine the equipment type of the dragged equipment before adjustment; If the equipment type of the dragged equipment before adjustment is the purchased type or the in-purchase type, adjust the equipment type of the dragged equipment to the to-be-sold type.
15. The method according to claim 14, wherein The method further includes: Obtain the amount of funds the virtual character currently has, and match corresponding replacement equipment from the activity area based on the virtual assets and the selling amount of the equipment of the type to be sold, and prompt and display it in the graphical user interface.
16. The method according to any one of claims 1-15, characterized in that, After the step of adjusting the equipment installation order of the equipment in the fixed area according to the drag termination position in response to the first drag operation of dragging the first target equipment in the activity area to the fixed area, or in response to the second drag operation for the second target equipment in the fixed area, it further includes: In response to the second touch operation on the equipment in the fixed area, display the corresponding equipment component synthesis list in the equipment interface; In response to the third drag operation of dragging the equipment in the equipment component synthesis list to the fixed area, display the dragged small-piece equipment in the fixed area, and adjust the equipment and the corresponding equipment installation order in the fixed area.
17. The method according to any one of claims 1-15, characterized in that, The equipment interface is in a circular shape.
18. A device for controlling game equipment, characterized in that, Display a graphical user interface through a terminal device, the graphical user interface includes at least part of the game scene and target controls, the game scene contains a virtual character controlled by the terminal device, and the game equipment control device includes: A display module, configured to display an equipment interface on the graphical user interface in response to the first touch operation on the target control, the equipment interface includes a fixed area and an activity area, wherein the fixed area is used to display the equipment with the first N installation orders, and the activity area is used to display the equipment with the installation order after the Nth in the form of a scrollable list, and N is a positive integer; An adjustment module, configured to adjust the equipment installation order of the equipment in the fixed area according to the drag termination position in response to the first drag operation of dragging the first target equipment in the activity area to the fixed area, or in response to the second drag operation for the second target equipment in the fixed area.
19. A client device, characterized in that, It includes a processor and a memory, the memory stores machine-executable instructions that can be executed by the processor, and the processor executes the machine-executable instructions to implement the method for controlling game equipment according to any one of claims 1-17.
20. A machine-readable storage medium, characterized in that, The machine-readable storage medium stores machine-executable instructions, and when the machine-executable instructions are called and executed by the processor, the machine-executable instructions cause the processor to implement the method for controlling game equipment according to any one of claims 1-17.
Citation Information
Patent Citations
Virtual equipment processing method and device in game and electronic equipment
CN113730910A