Prop operation control method and device, and electronic device
By using a swipe gesture within the game interface to select and equip items, the cumbersome item enhancement process is resolved, simplifying the operation and improving the player's interactive experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- NETEASE (HANGZHOU) NETWORK CO LTD
- Filing Date
- 2022-10-19
- Publication Date
- 2026-04-10
AI Technical Summary
In existing technologies, the process of enhancing items is cumbersome, which affects the player's operating experience, especially in mobile games where multiple clicks are required, resulting in a poor experience.
The system simplifies the operation process by displaying the item identifier of the target item in the graphical user interface and displaying the item to be equipped in a specified position. The selected item is determined by sliding the touch point based on its relative position to the target item, and the target item is then equipped onto the selected item.
It allows items to be equipped with a single swipe, improving the convenience and accuracy of operation and enhancing the player's interactive experience.
Smart Images

Figure CN115671731B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of games, and in particular to a prop operation control method, device and electronic equipment. BACKGROUND
[0002] In a game, an accessory prop can be used to strengthen a main prop, so that the main prop has a stronger skill effect. The process of strengthening the main prop by the accessory prop needs to be realized through interactive operations. In related technologies, a player needs to open an equipment column, enter an equipment detail page, and then enter a prop strengthening system, select the main prop in the system, and then install or remove the accessory prop from the main prop. This process needs multiple click interactive operations, and especially when the number of main props that need to be strengthened is large, the operation steps will be more, which affects the operation experience of the player. SUMMARY
[0003] Therefore, the present application aims to provide a prop operation control method, device and electronic equipment to simplify the operation steps of the prop and improve the operation interactive experience of the player.
[0004] In a first aspect, an embodiment of the present application provides a prop operation control method. A graphical user interface is provided by a terminal device. A target prop is displayed in the graphical user interface. The target prop is placed in a prop container. The method comprises: in response to a first trigger operation on the target prop, displaying a prop identifier of the target prop in the graphical user interface, and displaying at least one to-be-assembled prop at a specified position relative to the prop identifier; the to-be-assembled prop has a corresponding relationship with the specified position; in response to a first sliding operation with the target prop as a starting point, determining a first selected prop from the to-be-assembled prop based on a relative position between a first touch position of the first sliding operation and the target prop; the first selected prop is located at the specified position of the prop identifier, and the specified position matches the relative position; and assembling the target prop to the first selected prop.
[0005] In a second aspect, an embodiment of the present application provides a prop operation control device. A graphical user interface is provided by a terminal device. A target prop is displayed in the graphical user interface. The target prop is placed in a prop container. The device comprises: an identifier display module, configured to display a prop identifier of the target prop in the graphical user interface in response to a first trigger operation on the target prop, and display at least one to-be-assembled prop at a specified position relative to the prop identifier; the to-be-assembled prop has a corresponding relationship with the specified position; a prop determination module, configured to determine a first selected prop from the to-be-assembled prop in response to a first sliding operation with the target prop as a starting point, based on a relative position between a first touch position of the first sliding operation and the target prop; the first selected prop is located at the specified position of the prop identifier, and the specified position matches the relative position; and a prop assembly module, configured to assemble the target prop to the first selected prop.
[0006] In a third aspect, an electronic device is provided, which includes a processor and a memory. The memory stores machine executable instructions which are executable by the processor. The processor executes the machine executable instructions to implement the prop operation control method.
[0007] In a fourth aspect, a machine readable storage medium is provided, which stores machine executable instructions. When the machine executable instructions are invoked and executed by a processor, the machine executable instructions cause the processor to implement the prop operation control method.
[0008] The embodiments of the present application have the following beneficial effects:
[0009] The prop operation control method, device and electronic device provide a graphical user interface through a terminal device. The target prop is displayed in the graphical user interface. The target prop is placed in a prop container. In response to a first trigger operation on the target prop, a prop identifier of the target prop is displayed in the graphical user interface, and at least one to-be-assembled prop is displayed at a specified orientation relative to the prop identifier. The to-be-assembled prop has a corresponding relationship with the specified orientation. In response to a first sliding operation with the target prop as a starting point, a first selected prop is determined from the to-be-assembled prop based on a relative orientation between a first touch position of the first sliding operation and the target prop. The first selected prop is located at the specified orientation of the prop identifier, and the specified orientation matches the relative orientation. The target prop is assembled to the first selected prop. In this way, after the target prop is triggered, the to-be-assembled prop is displayed at the specified orientation of the prop identifier. The selected prop is selected through the relative position between the touch point of the sliding operation and the target prop, and then the target prop is assembled to the selected prop. One or more props can be assembled through one sliding operation, which is simple and convenient, and improves the operation and interaction experience of the player.
[0010] Other features and advantages of the present application will be further described in the following description with reference to the drawings, and will be apparent from the description, or will be learned from the practice of the application. The objects and other advantages of the present application will be realized and achieved by the structure particularly pointed out in the description, claims and drawings.
[0011] In order to make the above objectives, characteristics and advantages of the present application more apparent, the following preferred embodiments are specifically described with reference to the accompanying drawings. BRIEF DESCRIPTION OF DRAWINGS
[0012] In order to more clearly illustrate the technical solutions in the specific embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the specific embodiments or prior art description. Obviously, the drawings described below are some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without creative labor on the basis of these drawings.
[0013] Figure 1 A flow chart of a prop operation control method provided for an embodiment of the present application;
[0014] Figure 2 A display schematic diagram of a target prop and a to-be-assembled prop provided for an embodiment of the present application;
[0015] Figure 3 A display window schematic diagram of a target prop provided for an embodiment of the present application after being triggered;
[0016] Figure 4 An operation trajectory of a sliding operation and a schematic diagram of selecting a to-be-assembled prop provided for an embodiment of the present application;
[0017] Figure 5 An operation trajectory of another sliding operation and a schematic diagram of selecting a to-be-assembled prop provided for an embodiment of the present application;
[0018] Figure 6 A schematic diagram of assembling a plurality of target props provided for an embodiment of the present application;
[0019] Figure 7 A schematic diagram of selecting a to-be-assembled prop after a relative direction of a contact position changes provided for an embodiment of the present application;
[0020] Figure 8 A structural schematic diagram of a prop operation control device provided for an embodiment of the present application;
[0021] Figure 9 A structural schematic diagram of an electronic device provided for an embodiment of the present application. DETAILED DESCRIPTION
[0022] In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions of the present application will be described below in connection with the drawings. Obviously, the described embodiments are some embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all the other embodiments obtained by those skilled in the art without creative labor fall within the protection scope of the present application.
[0023] Taking an RPG (Role Playing Game) game as an example, the game can increase the weapon power value by means of gem setting. In a mobile game, the player needs to open the equipment column, enter the equipment details, and then enter the gem setting system to set the gem on the weapon. This method needs multiple click interactions and many steps, and especially for mobile games, the player experience is poor.
[0024] Based on this, the method, device and electronic equipment provided by the embodiments of the present application can be applied to games with prop operation requirements, such as combination, synthesis, assembly, etc. of the props, and especially can be applied to mobile games.
[0025] The prop operation control method in one of the embodiments of the present disclosure can run on a local terminal device or a server. When the prop operation control method runs on the server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.
[0026] In an optional 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 running mode of cloud games, the running body of the game program and the presentation body of the game picture are separated, and the storage and running of the prop operation control method are completed on the cloud game server. The client device is used for data reception, sending and game picture presentation. For example, the client device can be a display device close to the user side with data transmission function, such as a mobile terminal, a television, a computer, a palm computer, etc. However, the information processing is performed by the cloud game server in the cloud. When playing the game, the player operates the client device to send operation instructions to the cloud game server, the cloud game server runs the game according to the operation instructions, encodes and compresses the game picture data, returns the data to the client device through the network, and finally decodes and outputs the game picture through the client device.
[0027] In an optional embodiment, taking a game as an example, the local terminal device stores a game program and is used to present a game picture. The local terminal device is used to interact with the player through a graphical user interface, that is, the conventional game program is downloaded and installed on the electronic device and run. The way of providing the graphical user interface to the player by the local terminal device can include many ways, for example, it can be rendered and displayed on the display screen of the terminal, or it can be provided to the player through holographic projection. For example, the local terminal device can include a display screen and a processor, the display screen is used to present a graphical user interface including a game picture, 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.
[0028] In a possible implementation, the method for operating a prop provided by an embodiment of the present application includes the following steps:
[0029] As shown in the method for operating a prop, the method includes the following steps: Figure 1
[0030] Step S102, in response to a first trigger operation on the target prop, displaying a prop identifier of the target prop in the graphical user interface, and displaying at least one to-be-assembled prop at a specified orientation relative to the prop identifier; the to-be-assembled prop has a corresponding relationship with the specified orientation.
[0031] The first trigger operation can be a single-click, double-click, long-press, or swipe operation. After the target prop is operated by the first trigger operation, the prop identifier of the target prop is displayed in the graphical user interface. The prop identifier can be an appearance picture of the target prop or a prop name, quantity, or the like. At the same time, the to-be-assembled prop is displayed at the specified orientation relative to the prop identifier. The specified orientation can include a specified direction, a specified distance, or the like. When the to-be-assembled prop includes multiple to-be-assembled props, the to-be-assembled props have different specified orientations. For example, to-be-assembled prop 1 is located at the left side of the prop identifier, and to-be-assembled prop 2 is located at the right side of the prop identifier. For another example, to-be-assembled prop 3 is located at the top of the prop identifier and has a distance of 1 unit length from the prop identifier, and to-be-assembled prop 4 is located at the bottom of the prop identifier and has a distance of 2 unit lengths from the prop identifier. The to-be-assembled prop is usually a prop that matches the target prop. For example, the target prop can be assembled to the to-be-assembled prop, that is, the target prop and the to-be-assembled prop can be combined, paired, fused, or the like.
[0032] Step S104, in response to a first swipe operation starting from the target prop, determining a first selected prop from the to-be-assembled prop based on a relative orientation between a first touch position of the first swipe operation and the target prop; the first selected prop is located at the specified orientation of the prop identifier, and the specified orientation matches the relative orientation.
[0033] The player's finger presses on the position of the target prop, and then keeps pressing, and starts to slide the finger, and the first sliding operation is generated at this time. During the execution of the first sliding operation, the first touch position is constantly changing, and the relative position of the first touch position and the target prop can be, for example, that the first touch position is located on the left side of the target prop, on the upper right corner, or the first touch position is located on the bottom of the target prop, and the distance between the first touch position and the target prop is 1 length unit; since the aforementioned to-be-assembled prop is displayed at the specified position of the prop icon, after the relative position of the first touch position and the target prop is determined, the specified position matching the relative position can be determined, and after the specified position is determined, the first selected prop can be determined from the to-be-assembled prop. The specified position matching the relative position can include, for example, a specified position identical to the relative position, or the specified position can be a certain range of positions, and the relative position is located in a range of positions of a certain specified position, that is, the relative position matches the specified position.
[0034] After the first selected prop is determined, the first selected prop or the area where the first selected prop is located can be displayed in a highlighted or special color to prompt the player that the prop selected at this time is the first selected prop.
[0035] In step S106, the target prop is assembled to the first selected prop.
[0036] After the first selected prop is determined, the target prop can be controlled to be assembled to the first selected prop. In actual implementation, the progress bar or the countdown can be used to prompt that the target prop is being assembled to the first selected prop, and if the first touch position deviates from the first relative position before the assembly progress is completed or the countdown is ended, the target prop can be stopped from being assembled to the first selected prop. In addition, the touch position of the first sliding operation can also move to other relative positions, and at this time, the selected prop can be determined again based on the new relative position, and the target prop can be installed to the new selected prop again.
[0037] In this embodiment, by changing the touch position of the sliding operation, the target prop can be controlled to be assembled to a plurality of to-be-assembled props; when the player's finger leaves the touch screen, the touch position disappears, and at this time, the first sliding operation ends, and the assembly operation of the target prop is completed.
[0038] The above-mentioned method for controlling the operation of props provides a graphical user interface (GUI) through a terminal device. The GUI displays a target prop. The target prop is placed in a prop container. In response to a first trigger operation targeting the target prop, the GUI displays the prop's identifier and at least one prop to be assembled is displayed at a specified position relative to the identifier. The props to be assembled correspond to the specified positions. In response to a first sliding operation starting from the target prop, a first selected prop is determined from the props to be assembled based on the relative position between the first touch point of the first sliding operation and the target prop. The first selected prop is located at the specified position of the identifier, and the specified position matches the relative position. The target prop is then assembled onto the first selected prop. In this method, after the target prop is triggered, the props to be assembled are displayed at the specified position of the identifier. The prop is selected by the relative position of the touch point of the sliding operation and the target prop, and then assembled onto the selected prop. One or more props can be assembled with a single sliding operation, making the operation simple and convenient, and improving the player's interactive experience.
[0039] In one specific implementation, the prop container is displayed in a first area of the graphical user interface; a second area of the graphical user interface displays at least one prop to be assembled; such as Figure 2 As shown, before the first trigger operation is executed, the right-hand area of the graphical user interface, i.e., the first area, displays item containers, in which target items are placed; each target item occupies one container slot, and the quantity of target items can also be displayed near the container slots. The left-hand area of the graphical user interface displays items to be equipped, and an equipment icon is displayed at the bottom of the items to be equipped to indicate whether the items to be equipped are currently equipped with other items.
[0040] In response to a first trigger operation targeting a target item, a display window is generated in a second area; wherein the display window is overlaid on the item to be equipped; the item identifier corresponding to the target item is displayed in the display window, and at least one item identifier of the item to be equipped is displayed at a specified position relative to the item identifier. Figure 3 As an example, when a player presses the target item, a circular display window appears on the left side of the graphical user interface, with the target item's icon displayed in the center. Multiple items are to be equipped, each corresponding to a specific location. The icon numbers for these multiple items are displayed in their respective designated locations. Figure 3 For example, there are six items to be assembled. The item identifiers for each item are displayed in the upper left, left side, lower left, upper right, right side, and lower right of the item identifier, respectively.
[0041] It should be noted that the embodiment is intended to select the to-be-assembled props by the relative position of the contact position and the target prop, and therefore, the specified positions of different to-be-assembled props and prop identifiers need to have obvious distinguishability to avoid difficulty for the player to select the to-be-assembled prop through the change of the contact position.
[0042] Further, in response to the first sliding operation starting from the target prop, the relative position between the first contact position of the first sliding operation and the target prop is determined; and the to-be-assembled prop in the relative position of the prop identifier of the target prop is determined as the first selected prop. Figure 4 In the example of FIG. 10, the first contact position of the first sliding operation moves along the trajectory shown by the arrowed line, and when the first contact position is located at the arrow position, the first contact position is located at the upper right corner of the prop identifier, and at this time, the relative position between the first contact position and the target prop is the upper right corner direction; then, the to-be-assembled prop in the upper right corner direction of the prop identifier displays the selected identifier, and the to-be-assembled prop is the first selected prop.
[0043] Similarly, Figure 5 In the example of FIG. 10, the first contact position of the first sliding operation moves along the trajectory shown by the arrowed line, and when the first contact position is located at the arrow position, the first contact position is located at the upper right corner of the prop identifier, and at this time, the relative position between the first contact position and the target prop is the upper right corner direction; then, the to-be-assembled prop in the upper right corner direction of the prop identifier displays the selected identifier, and the to-be-assembled prop is the first selected prop.
[0044] In the above manner, the player slides the finger from the target prop, and selects the to-be-assembled prop in the position to which the finger slides, which can improve the convenience of operation compared with the multiple-click manner, and especially for a hand game, the sliding manner can reduce the mis-touch caused by clicking and improve the accuracy and efficiency of the interactive operation.
[0045] After the prop is selected, in order to avoid the target prop being assembled to the wrong prop due to the wrong sliding direction, in the embodiment, in response to the first contact position staying in the relative position, a progress identifier of assembly progress is displayed at the specified position of the first selected prop; and in response to the assembly progress reaching a preset threshold, the target prop is assembled to the first selected prop.
[0046] In actual implementation, when the first contact position slides to the above relative position, the specified position of the corresponding first selected prop starts to display the progress identifier, which dynamically changes to indicate the current assembly progress, for example, when the assembly progress is 100%, the target prop is assembled to the first selected prop at this time; if the assembly progress does not reach the preset threshold, the first contact position leaves the above relative position, at this time, the progress identifier is cancelled, and the target prop is not equipped to the first selected prop.
[0047] The progress identifier can be displayed at a position near the first selected prop, such as Figure 4 In some embodiments, the progress identifier is displayed at the bottom of the first selected prop. In addition, the progress identifier can also be displayed on the first selected prop in a semi-transparent manner. The progress identifier is usually displayed in a dynamic manner to indicate that the assembly progress is constantly changing. The progress identifier can also be understood as a countdown. When the countdown time is up, the target prop is assembled onto the first selected prop.
[0048] In the above manner, a certain time length of buffering can be provided for the prop assembly process to avoid incorrect prop assembly caused by the player's incorrect sliding and improve the accuracy of prop assembly.
[0049] In addition, for the first selected prop, the first selected prop can assemble one target prop or multiple target props. If only one target prop is assembled, the foregoing embodiments can be used. When multiple target props need to be assembled, the player can keep the first touch position at the above relative position of the target object.
[0050] Specifically, when the first selected prop can assemble multiple target props, the first selected prop includes multiple assembly positions. At this time, the position identifier of each assembly position can be displayed around the first selected prop. In response to the first touch position being kept at the relative position, a progress identifier of a first assembly progress of a first position of the multiple assembly positions is displayed. In response to the first assembly progress reaching a preset threshold, the target prop is assembled to the first position. In response to the first touch position being kept at the relative position, a progress identifier of a second assembly progress of a second position of the multiple assembly positions is displayed. The second position is different from the first position. In response to the second assembly progress reaching the preset threshold, the target prop is assembled to the second position.
[0051] Figure 6 As an example, when the first touch position is kept at the upper left corner of the target prop, the prop identifier at the upper left corner of the target prop is the first selected prop. Then, the progress identifier of the first assembly position is displayed first. When the assembly progress of the first position reaches the preset threshold, the target prop is successfully assembled at the first position. At this time, if the first touch position is still kept at the relative position of the target prop, the progress identifier of the second position is displayed. When the assembly progress of the second position reaches the preset threshold, the target prop is successfully assembled at the second position. If the assembly progress of the second position does not reach the preset threshold, but the first touch position leaves the relative position of the target prop, the target prop will not be assembled at the second position.
[0052] In actual implementation, when the assembly positions of the to-be-assembled props are more, the number of the target props is also sufficient, and the first contact position is always located in the above-mentioned relative manner of the target prop, the target prop will be continuously assembled to the to-be-assembled prop. Meanwhile, when one of the above-mentioned three conditions is not met, the assembly is stopped. Specifically, in response to the fact that the plurality of assembly positions are all assembled with the target prop, or the target prop is used up, or the first contact position is away from the relative position, the target prop is stopped from being assembled to the first selected prop. If the assembly positions are all assembled with the target prop, or the target prop is used up, but the first contact position is still located in the relative position of the target prop, at this time, a prompt information can be displayed to prompt the player that the assembly positions are all assembled with the target prop, or the target prop is used up, so as to prompt the player to stop the sliding operation and perform subsequent operation as soon as possible.
[0053] In addition, after the prop assembly of the first selected prop is completed, the player can continue to assemble other props through the sliding operation. Specifically, in response to a second sliding operation with the first contact position as a starting point, a second selected prop is determined from the to-be-assembled props based on the second contact position of the second sliding operation and the relative position of the target prop; and the target prop is assembled to the second selected prop.
[0054] Figure 7 In the example, the sliding operation is continued from the first contact position to the second contact position, the second contact position is different from the relative position of the target prop with the first contact position, and the selected to-be-assembled prop is also different at this time. Figure 7 In the example, the relative position corresponding to the first contact position is the upper left corner position, and the first selected prop is located at the upper left corner of the prop identifier; the relative position corresponding to the second contact position is the lower left corner, and the second selected prop is located at the lower left corner of the prop identifier.
[0055] In this way, the change of the selected to-be-assembled prop can be realized, so that the target prop can be assembled to a plurality of to-be-assembled props through one sliding operation.
[0056] It should be noted that when the player's finger is pressed on the target prop and starts to slide, the finger can select a plurality of to-be-assembled props in sequence through the sliding operation without leaving the touch screen, and then assemble the target prop to the plurality of to-be-assembled props. In the related art, the player needs to click each to-be-assembled prop in sequence, and then assemble the target prop to each to-be-assembled prop through clicking or dragging, and the operation steps are more. In the embodiment, the assembly of a plurality of props can be completed through one sliding operation, which is convenient and efficient.
[0057] Considering the limited space around the item icon, if there are many items to be equipped, not all of them can be displayed. In this case, in response to the first trigger operation for the target item, a switching control is displayed in the graphical user interface. The switching control is used to: control the switching of the item to be equipped at a specified location of the item icon; and in response to the trigger operation applied to the switching control, switch the item to be equipped at the specified location of the item icon.
[0058] The switching control can be displayed simultaneously with the aforementioned display window. This control can display an icon for "Other Items" or "Other Weapons." When a player triggers the switching control, they can control the display window to show other items to be equipped. It's important to note that when the player triggers the switching control, their finger performing the swipe operation remains on the touchscreen; the touch point does not disappear. While other items to be equipped are displayed, a return control can also be shown simultaneously. When this return control is triggered, the items displayed before the switching control was triggered will resume to be equipped. This method allows for equipping a wider variety of items, improving the convenience of item assembly.
[0059] Furthermore, in response to the end of the first swipe operation, the item icon of the target item is canceled, and the item to be equipped at the specified position relative to the item icon is also canceled. The end of the first swipe operation can be understood as the player's finger leaving the touchscreen. At this point, the touch position disappears, and the graphical user interface returns to its state before the first trigger operation, such as... Figure 2 However, since some items to be equipped have already been equipped with target items, relevant assembly markers can be displayed around the equipped target items to indicate the assembly status of various items.
[0060] When you need to remove a target item, you can drag the assembly icon. At the same time, a removal control will appear on the interface. Drag the assembly icon to the removal control and release it to remove the target item.
[0061] For the corresponding method embodiments described above, see [link to relevant documentation]. Figure 8 The diagram shows a structural schematic of an operation control device for a prop, which provides a graphical user interface via a terminal device; the graphical user interface displays a target prop; the target prop is placed in a prop container; the device includes:
[0062] The identification display module 80 is used to respond to a first trigger operation for a target item, display the item identification of the target item in a graphical user interface, and display at least one item to be equipped at a specified position relative to the item identification; wherein the item to be equipped has a corresponding relationship with the specified position;
[0063] The prop determination module 82 is configured to, in response to the first sliding operation starting from the target prop, determine a first selected prop from the props to be assembled based on the relative position between the first touch position of the first sliding operation and the target prop; the first selected prop is located at the specified position of the prop identifier, and the specified position matches the relative position.
[0064] The prop assembly module 84 is configured to assemble the target prop to the first selected prop.
[0065] The prop operation control device is configured to provide a graphical user interface through the terminal device; the graphical user interface displays a target prop; the target prop is placed in a prop container; in response to a first trigger operation on the target prop, the graphical user interface displays a prop identifier of the target prop and displays at least one prop to be assembled at a specified position relative to the prop identifier; the prop to be assembled has a corresponding relationship with the specified position; in response to a first sliding operation starting from the target prop, a first selected prop is determined from the props to be assembled based on the relative position between the first touch position of the first sliding operation and the target prop; the first selected prop is located at the specified position of the prop identifier, and the specified position matches the relative position; and the target prop is assembled to the first selected prop. In this way, after the target prop is triggered, the props to be assembled are displayed at the specified position of the prop identifier, the props are selected through the relative position between the touch point of the sliding operation and the target prop, and then the target prop is assembled to the selected prop; one or more props can be assembled through one sliding operation, the operation is simple and convenient, and the operation and interaction experience of the player is improved.
[0066] The prop container is displayed in a first area of the graphical user interface; a second area of the graphical user interface displays at least one prop to be assembled; and the identifier display module is further configured to, in response to the first trigger operation on the target prop, generate a display window in the second area; the display window is displayed on the props to be assembled; the prop identifier corresponding to the target prop is displayed in the display window, and at least one prop to be assembled is displayed at the specified position relative to the prop identifier.
[0067] The prop identifier of the target prop is displayed in a central area of the display window; the props to be assembled include a plurality of props, and the props to be assembled and the specified position are in one-to-one correspondence.
[0068] The prop determination module is further configured to, in response to the first sliding operation starting from the target prop, determine the relative position between the first touch position of the first sliding operation and the target prop; and determine the prop to be assembled at the relative position relative to the prop identifier of the target prop as the first selected prop.
[0069] The prop assembling module is further configured to: in response to the first touch point position remaining at the opposite position, display a progress identifier of an assembling progress at the specified position of the first selected prop; and in response to the assembling progress reaching a preset threshold, assemble the target prop to the first selected prop.
[0070] The first selected prop includes a plurality of assembling positions. The prop assembling module is further configured to: in response to the first touch point position remaining at the opposite position, display a progress identifier of a first assembling progress of a first position of the plurality of assembling positions; in response to the first assembling progress reaching a preset threshold, assemble the target prop to the first position; in response to the first touch point position continuously remaining at the opposite position, display a progress identifier of a second assembling progress of a second position of the plurality of assembling positions; and in response to the second assembling progress reaching a preset threshold, assemble the target prop to the second position, where the second position is different from the first position.
[0071] The device further includes an assembling stopping module configured to: in response to all the plurality of assembling positions being assembled with the target prop, or the target prop being used up, or the first touch point position leaving the opposite position, stop assembling the target prop to the first selected prop.
[0072] The device further includes a second assembling module configured to: in response to a second sliding operation starting from the first touch point position, determine a second selected prop from the props to be assembled based on a second touch point position of the second sliding operation and the opposite position of the target prop; and assemble the target prop to the second selected prop.
[0073] The device further includes a canceling display module configured to: in response to an ending operation of the first sliding operation, cancel display of the prop identifier of the target prop and cancel display of the props to be assembled at the specified position relative to the prop identifier.
[0074] The device further includes a switching display module configured to: in response to a first triggering operation on the target prop, display a switching control in the graphical user interface, where the switching control is configured to: control the props to be assembled at the specified position of the prop identifier; and in response to a triggering operation on the switching control, switch the props to be assembled at the specified position of the prop identifier.
[0075] The embodiment also provides an electronic device including a processor and a memory, where the memory stores machine executable instructions capable of being executed by the processor, and the processor executes the machine executable instructions to implement the prop operation control method. The electronic device can be a server or a terminal device.
[0076] Referring to Figure 9As shown, the electronic device includes a processor 100 and a memory 101 storing machine executable instructions executable by the processor 100 to implement the above prop operation control method.
[0077] Further, Figure 9 As shown, the electronic device further includes a bus 102 and a communication interface 103, and the processor 100, the communication interface 103 and the memory 101 are connected through the bus 102.
[0078] The memory 101 can include a high-speed random access memory (RAM), and can also include a non-volatile memory such as at least one disk memory. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 103 (which can be wired or wireless), and the Internet, a wide area network, a local area network, a metropolitan area network, etc. can be used. The bus 102 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 ease of representation, Figure 9 Only one bidirectional arrow is used in the figure, but it does not mean that there is only one bus or only one type of bus.
[0079] The processor 100 can be an integrated circuit chip with processing capability. In the implementation process, each step of the above method can be completed by the integrated logic circuit of hardware in the processor 100 or the instruction in the form of software. The processor 100 described above can be a general processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. Each method, step and logic block disclosed in the embodiment of the present application can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in combination with the embodiment of the present application can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module can be located in a random access memory, a flash memory, a read only memory, a programmable read only memory or an electrically erasable programmable memory, a register or other mature storage medium in the art. The storage medium is located in the storage 101, and the processor 100 reads the information in the storage 101, and combines the hardware to complete the steps of the method of the above embodiment.
[0080] The processor in the above electronic device can implement the following operations in the prop operation control method by executing machine executable instructions:
[0081] A graphical user interface is provided by a terminal device; a target prop is displayed in the graphical user interface; the target prop is placed in a prop container; in response to a first trigger operation on the target prop, a prop identifier of the target prop is displayed in the graphical user interface, and at least one to-be-assembled prop is displayed at a specified orientation relative to the prop identifier; the to-be-assembled prop has a corresponding relationship with the specified orientation; in response to a first sliding operation with the target prop as a starting point, a first selected prop is determined from the to-be-assembled prop based on the relative orientation between the first touch position of the first sliding operation and the target prop; the first selected prop is located at the specified orientation of the prop identifier, and the specified orientation matches the relative orientation; and the target prop is assembled to the first selected prop.
[0082] The prop container is displayed in a first area of the graphical user interface; a second area of the graphical user interface displays at least one prop to be assembled; in response to a first trigger operation for a target prop, a display window is generated in the second area; wherein the display window covers and is displayed on the prop to be assembled; the prop identifier corresponding to the target prop is displayed in the display window, and the prop identifier of the at least one prop to be assembled is displayed in a specified direction relative to the prop identifier.
[0083] The prop identifier of the target prop is displayed in the central area of the display window; the prop to be assembled includes a plurality of props, and the prop to be assembled is one-to-one corresponding to the specified direction.
[0084] In response to a first sliding operation starting from the target prop, the relative direction between the first touch position of the first sliding operation and the target prop is determined; the prop to be assembled in the relative direction relative to the prop identifier of the target prop is determined as the first selected prop.
[0085] In response to the first touch position staying in the relative direction, a progress identifier of the assembly progress is displayed at a specified position of the first selected prop; in response to the assembly progress reaching a preset threshold, the target prop is assembled to the first selected prop.
[0086] In response to the first touch position staying in the relative direction, a progress identifier of the first assembly progress of the first position among a plurality of assembly positions is displayed; in response to the first assembly progress reaching a preset threshold, the target prop is assembled to the first position; in response to the first touch position continuously staying in the relative direction, a progress identifier of the second assembly progress of the second position among a plurality of assembly positions is displayed; wherein the second position is different from the first position; in response to the second assembly progress reaching a preset threshold, the target prop is assembled to the second position.
[0087] In response to the plurality of assembly positions being assembled with the target prop, or the target prop being used up, or the first touch position leaving the relative direction, the assembly of the target prop to the first selected prop is stopped.
[0088] In response to a second sliding operation starting from the first touch position, a second selected prop is determined from the prop to be assembled based on the relative direction between the second touch position of the second sliding operation and the target prop; the target prop is assembled to the second selected prop.
[0089] In response to an end operation of the first sliding operation, the display of the prop identifier of the target prop and the display of the prop to be assembled in the specified direction relative to the prop identifier are cancelled.
[0090] In response to a first trigger operation for a target prop, a switching control is displayed in the graphical user interface; wherein the switching control is used to control the switching of the prop to be assembled in the specified direction of the prop identifier; in response to a trigger operation acting on the switching control, the prop to be assembled in the specified direction of the prop identifier is switched.
[0091] In the above manner, after the target prop is triggered, the to-be-assembled prop is displayed at the specified position of the prop identifier, the target prop is selected by the relative position between the touch point of the sliding operation and the target prop, and the target prop is further assembled to the selected prop. One or more props can be assembled through one sliding operation, the operation is simple and convenient, and the operation interaction experience of the player is improved.
[0092] The embodiment also provides a machine-readable storage medium, which 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 operation control method of the prop.
[0093] The machine-executable instructions stored in the machine-readable storage medium can implement the following operation in the operation control method of the prop by executing the machine-executable instructions.
[0094] A graphical user interface is provided by a terminal device; the target prop is displayed in the graphical user interface; the target prop is placed in a prop container; in response to a first trigger operation on the target prop, a prop identifier of the target prop is displayed in the graphical user interface, and at least one to-be-assembled prop is displayed at a specified position relative to the prop identifier; the to-be-assembled prop has a corresponding relationship with the specified position; in response to a first sliding operation with the target prop as a starting point, a first selected prop is determined from the to-be-assembled prop based on the relative position between the first touch point position of the first sliding operation and the target prop; the first selected prop is located at the specified position of the prop identifier, and the specified position matches the relative position; and the target prop is assembled to the first selected prop.
[0095] The prop container is displayed in a first area of the graphical user interface; at least one to-be-assembled prop is displayed in a second area of the graphical user interface; in response to a first trigger operation on the target prop, a display window is generated in the second area; the display window is displayed above the to-be-assembled prop; a prop identifier corresponding to the target prop is displayed in the display window, and at least one to-be-assembled prop is displayed at a specified position relative to the prop identifier.
[0096] The prop identifier of the target prop is displayed in the center area of the display window; the to-be-assembled prop includes a plurality of to-be-assembled props, and the to-be-assembled prop has a one-to-one correspondence with the specified position.
[0097] In response to the first sliding operation with the target prop as a starting point, the relative position between the first touch point position of the first sliding operation and the target prop is determined; and the to-be-assembled prop at the relative position relative to the prop identifier of the target prop is determined as the first selected prop.
[0098] In response to the first touch point position staying at the opposite position, a progress identifier of assembly progress is displayed at the specified position of the first selected prop; and in response to the assembly progress reaching a preset threshold, the target prop is assembled to the first selected prop.
[0099] In response to the first touch point position staying at the opposite position, a progress identifier of first assembly progress of a first position of the plurality of assembly positions is displayed; in response to the first assembly progress reaching a preset threshold, the target prop is assembled to the first position; in response to the first touch point position continuously staying at the opposite position, a progress identifier of second assembly progress of a second position of the plurality of assembly positions is displayed; the second position is different from the first position; and in response to the second assembly progress reaching a preset threshold, the target prop is assembled to the second position.
[0100] In response to the plurality of assembly positions being all assembled with the target prop, or the target prop being used up, or the first touch point position leaving the opposite position, the assembling of the target prop to the first selected prop is stopped.
[0101] In response to a second sliding operation starting from the first touch point position, a second selected prop is determined from the assembly props based on a second touch point position of the second sliding operation and the opposite position of the target prop; and the target prop is assembled to the second selected prop.
[0102] In response to an ending operation of the first sliding operation, the prop identifier of the target prop is cancelled, and the assembly prop in the specified position relative to the prop identifier is cancelled.
[0103] In response to a first trigger operation for the target prop, a switching control is displayed in the graphical user interface; the switching control is used to control the switching of the assembly prop in the specified position of the prop identifier; and in response to a trigger operation acting on the switching control, the assembly prop in the specified position of the prop identifier is switched.
[0104] In the above manner, after the target prop is triggered, the assembly prop is displayed in the specified position of the prop identifier, the prop is selected by the relative position between the touch point of the sliding operation and the target prop, and then the target prop is assembled to the selected prop; one or more props can be assembled through one sliding operation, the operation is simple and convenient, and the operation and interaction experience of the player is improved.
[0105] The prop operation control method and device and the computer program product of the electronic equipment provided in the embodiments of the present application include a computer readable storage medium storing program codes, the instructions included in the program codes can be used to execute the method described in the foregoing method embodiments, and the specific implementation can be referred to the method embodiments, which will not be described herein.
[0106] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system and device described above can refer to the corresponding process in the foregoing method embodiment, and will not be repeated here.
[0107] In addition, in the description of the embodiments of the present application, unless otherwise explicitly specified and limited, the terms "mounting", "connection", "connecting" should be understood in a broad sense, for example, can be fixedly connected, can be detachably connected, or integrally connected; can be mechanically connected, can be electrically connected; can be directly connected, can be indirectly connected through an intermediate medium, and can be internal communication of two elements. For those skilled in the art, the specific meaning of the above terms in the present application can be understood according to the specific circumstances.
[0108] If the functions are realized in the form of software function units and sold or used as independent products, they can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application or the part of the prior art or the part of the technical solutions can be embodied in the form of software products. The computer software product is stored in a storage medium and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in various embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various program code storage media.
[0109] In the description of the present application, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer" and the like indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a particular orientation, be constructed and operated in a particular orientation, and therefore cannot be understood as a limitation on the present application. In addition, the terms "first", "second", "third" are only for the purpose of description, and cannot be understood as indicating or implying relative importance.
[0110] Finally, it should be noted that the above examples are merely specific embodiments of the present application, and are used to illustrate the technical solutions of the present application, but are not intended to limit the present application. The protection scope of the present application is not limited thereto. Although the present application has been described in detail with reference to the foregoing examples, those skilled in the art should understand that any person skilled in the art can still modify or easily think of changes to the technical solutions recorded in the foregoing examples, or make equivalent replacements to some of the technical features, within the technical range disclosed by the present application. These modifications, changes or replacements do not cause the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A prop operation control method characterized by, A graphical user interface is provided by a terminal device; a target prop is displayed in the graphical user interface; the target prop is placed in a prop container; the prop container is displayed in a first area of the graphical user interface; A second area of the graphical user interface displays at least one prop to be assembled; the method comprises: In response to a first trigger operation on the target prop, a prop identifier of the target prop is displayed in the graphical user interface, and at least one prop to be assembled is displayed at a specified orientation relative to the prop identifier; the prop to be assembled has a corresponding relationship with the specified orientation; The step of displaying, in response to a first trigger operation on the target prop, a prop identifier of the target prop in the graphical user interface and at least one prop to be assembled at a specified orientation relative to the prop identifier, comprises: in response to a first trigger operation on the target prop, a display window is generated in the second area; the display window is displayed above the prop to be assembled; the prop identifier corresponding to the target prop is displayed in the display window, and at least one prop identifier of the prop to be assembled is displayed at a specified orientation relative to the prop identifier; In response to a first sliding operation starting from the target prop, a first selected prop is determined from the prop to be assembled based on the relative orientation between the first touch position of the first sliding operation and the target prop; the first selected prop is located at the specified orientation of the prop identifier, and the specified orientation matches the relative orientation; The target prop is assembled on the first selected prop.
2. The method of claim 1, wherein, The prop identifier of the target prop is displayed in the center area of the display window; the prop to be assembled includes a plurality of props, and each prop to be assembled corresponds to a specified orientation.
3. The method of claim 1, wherein, The step of determining, in response to a first sliding operation starting from the target prop, a first selected prop from the prop to be assembled based on the relative orientation between the first touch position of the first sliding operation and the target prop, comprises: In response to a first sliding operation starting from the target prop, the relative orientation between the first touch position of the first sliding operation and the target prop is determined; The prop to be assembled at the relative orientation relative to the prop identifier of the target prop is determined as the first selected prop.
4. The method of claim 1, wherein, The step of assembling the target prop on the first selected prop comprises: In response to the first touch position staying at the relative orientation, a progress identifier of assembly progress is displayed at a specified position of the first selected prop; In response to the assembly progress reaching a preset threshold, the target prop is assembled on the first selected prop.
5. The method of claim 1, wherein, The first selected prop includes a plurality of assembly positions; the step of assembling the target prop on the first selected prop comprises: In response to the first touch position staying at the relative orientation, a progress identifier of first assembly progress of a first position of the plurality of assembly positions is displayed; In response to the first assembly progress reaching a preset threshold, the target prop is assembled at the first position; In response to the first contact position continuously staying at the relative position, a progress identifier of a second assembly progress of a second position in the plurality of assembly positions is displayed; wherein the second position is different from the first position; In response to the second assembly progress reaching a preset threshold, the target prop is assembled to the second position.
6. The method of claim 5, wherein, The method further includes: In response to the plurality of assembly positions being assembled with the target prop, or the target prop being used up, or the first contact position leaving the relative position, the assembling of the target prop to the first selected prop is stopped.
7. The method of claim 1, wherein, After the step of assembling the target prop to the selected prop, the method further includes: In response to a second sliding operation starting from the first contact position, a second selected prop is determined from the to-be-assembled props based on a second contact position of the second sliding operation and the relative position of the target prop; The target prop is assembled to the second selected prop.
8. The method of claim 1, wherein, After the step of assembling the target prop to the selected prop, the method further includes: In response to an end operation of the first sliding operation, the prop identifier of the target prop is stopped being displayed, and the to-be-assembled props in the specified direction relative to the prop identifier are stopped being displayed.
9. The method of claim 1, wherein, The method further includes: In response to a first trigger operation for the target prop, a switching control is displayed in the graphical user interface; wherein the switching control is used to control switching of the to-be-assembled props in the specified direction of the prop identifier; In response to a trigger operation acting on the switching control, the to-be-assembled props in the specified direction of the prop identifier are switched.
10. An operating control device for a prop, characterized by A graphical user interface is provided by a terminal device; the graphical user interface displays a target prop; the target prop is placed in a prop container; the prop container is displayed in a first area of the graphical user interface; A second area of the graphical user interface displays at least one to-be-assembled prop; the device includes: An identifier display module is configured to, in response to a first trigger operation for the target prop, display a prop identifier of the target prop in the graphical user interface, and display at least one to-be-assembled prop in a specified direction relative to the prop identifier; wherein the to-be-assembled prop has a corresponding relationship with the specified direction; and the response to the first trigger operation for the target prop, the display of the prop identifier of the target prop in the graphical user interface, and the display of at least one to-be-assembled prop in the specified direction relative to the prop identifier includes: in response to the first trigger operation for the target prop, a display window is generated in the second area; wherein the display window is displayed on the to-be-assembled prop; the prop identifier corresponding to the target prop is displayed in the display window, and at least one to-be-assembled prop identifier is displayed in the specified direction relative to the prop identifier. The prop determining module is configured to, in response to a first sliding operation starting from the target prop, determine a first selected prop from the props to be assembled based on a relative position between a first touch position of the first sliding operation and the target prop; the first selected prop is located at a specified position of the prop identifier, and the specified position matches the relative position. The prop assembling module is configured to assemble the target prop to the first selected prop.
11. An electronic device, comprising: A processor and a memory are included, the memory stores machine executable instructions which can be executed by the processor, and the processor executes the machine executable instructions to implement the prop operation control method in any one of claims 1-9.
12. 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 a processor, the machine executable instructions cause the processor to implement the prop operation control method in any one of claims 1-9.
Citation Information
Patent Citations
Method and device for controlling virtual item in game, equipment and storage medium
CN113680067A
Prop synthesis method and device, storage medium and electronic equipment
CN114558323A