CN115671731A - Operation control method and device of prop and electronic equipment - Google Patents

Operation control method and device of prop and electronic equipment Download PDF

Info

Publication number
CN115671731A
CN115671731A CN202211279784.7A CN202211279784A CN115671731A CN 115671731 A CN115671731 A CN 115671731A CN 202211279784 A CN202211279784 A CN 202211279784A CN 115671731 A CN115671731 A CN 115671731A
Authority
CN
China
Prior art keywords
prop
target
assembled
props
identifier
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211279784.7A
Other languages
Chinese (zh)
Inventor
冯瑞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202211279784.7A priority Critical patent/CN115671731A/en
Publication of CN115671731A publication Critical patent/CN115671731A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides an operation control method and device of a prop and electronic equipment; wherein, the method comprises the following steps: responding to a first trigger operation aiming at the target prop, displaying a prop identifier of the target prop in a graphical user interface, and displaying at least one prop to be assembled in a specified direction relative to the prop identifier; the prop to be assembled has a corresponding relation with the designated direction; responding to a first sliding operation with a target prop as a starting point, and determining a first selected prop from props to be assembled based on a relative position between a first contact point position of the first sliding operation and the target prop; the first selected prop is located at the designated position of the prop mark, and the designated position is matched with the relative position; and assembling the target prop to the first selected prop. This mode can realize the assembly of one or more stage property through once sliding operation, and easy operation is convenient, has improved player's operation interaction experience.

Description

Operation control method and device of prop and electronic equipment
Technical Field
The invention relates to the technical field of games, in particular to an operation control method and device of props and electronic equipment.
Background
In the game, the accessory props can be used for strengthening the main props, so that the main props have stronger skill effect. The process of strengthening the main prop through the auxiliary prop needs interactive operation. In the related technology, a player needs to open an equipment bar, enter an equipment detail page, then enter a prop strengthening system, select a main prop in the system, and then install or detach an auxiliary prop to a main track tool, and in the process, multiple times of clicking interactive operation are needed, and especially when the number of the main track tools needing strengthening is large, the number of operation steps is more, and the operation experience of the player is influenced.
Disclosure of Invention
In view of this, the present invention provides an operation control method and apparatus for a prop, and an electronic device, so as to simplify operation steps of the prop and improve operation interaction experience of a player.
In a first aspect, an embodiment of the present invention provides a method for controlling operation of a prop, where a graphical user interface is provided through a terminal device; displaying a target prop in the graphical user interface; the target prop is placed in the prop container; the method comprises the following steps: responding to a first trigger operation aiming at the target prop, displaying a prop identifier of the target prop in a graphical user interface, and displaying at least one prop to be assembled in a specified direction relative to the prop identifier; the property to be assembled has a corresponding relation with the designated direction; responding to a first sliding operation with a target prop as a starting point, and determining a first selected prop from props to be assembled based on a relative position between a first contact point position of the first sliding operation and the target prop; the first selected prop is located at the designated position of the prop mark, and the designated position is matched with the relative position; and assembling the target prop to the first selected prop.
In a second aspect, an embodiment of the present invention provides an operation control apparatus for a prop, which provides a graphical user interface through 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: the identification display module is used for responding to a first trigger operation aiming at the target prop, displaying the prop identification of the target prop in a graphical user interface, and displaying at least one prop to be assembled in a specified direction relative to the prop identification; the prop to be assembled has a corresponding relation with the specified direction; the prop determining module is used for responding to a first sliding operation with a target prop as a starting point, and determining a first selected prop from props to be assembled based on the relative position between a first contact point position of the first sliding operation and the target prop; the first selected prop is located at the designated position of the prop mark, and the designated position is matched with the relative position; and the prop assembling module is used for assembling the target prop to the first selected prop.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes 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 operation control method for the prop.
In a fourth aspect, embodiments of the present invention provide a machine-readable storage medium, where 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 operation control method of the prop.
The embodiment of the invention has the following beneficial effects:
the operation control method, the device and the electronic equipment of the prop provide a graphical user interface through terminal equipment; a target prop is displayed in the graphical user interface; the target prop is placed in a prop container; responding to a first trigger operation aiming at the target prop, displaying a prop identifier of the target prop in a graphical user interface, and displaying at least one prop to be assembled in a specified direction relative to the prop identifier; the property to be assembled has a corresponding relation with the designated direction; responding to a first sliding operation with a target prop as a starting point, and determining a first selected prop from props to be assembled based on a relative position between a first contact point position of the first sliding operation and the target prop; the first selected prop is located at the designated position of the prop mark, and the designated position is matched with the relative position; and assembling the target prop to the first selected prop. In the method, after a target prop is triggered, the prop to be assembled is displayed in the designated position of the prop identifier, the prop is selected through the relative position of a contact of sliding operation and the target prop, and then the target prop is assembled on the selected prop; the assembly of one or more props can be realized through a sliding operation, the operation is simple and convenient, and the operation interaction experience of a player is improved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of an operation control method of a prop according to an embodiment of the present invention;
FIG. 2 is a schematic display diagram of a target prop and a prop to be assembled according to an embodiment of the present invention;
FIG. 3 is a schematic view of a display window of a triggered target prop according to an embodiment of the present invention;
fig. 4 is a schematic diagram of an operation track of a sliding operation and a prop to be assembled selected according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of an operation track of another sliding operation and a prop to be assembled selected, according to the embodiment of the invention;
FIG. 6 is a schematic view of a system for assembling a plurality of target props according to an embodiment of the present disclosure;
FIG. 7 is a schematic diagram of a prop to be assembled selected after the relative orientation of the contact positions changes according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an operation control device for a prop according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
To make the objects, 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, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Taking RPG (Role Playing Game) Game as an example, the Game can add force value to the weapon by inlaying a gemstone. In a hand game type game, a player needs to open an equipment bar, enter equipment details and then enter a gem embedding system, and a gem is embedded on a weapon in the system.
Based on this, the operation control method, the device and the electronic device for the props provided by the embodiment of the invention can be applied to games with prop operation requirements, such as combining, synthesizing and assembling the props; the method can be particularly applied to hand-game games.
The operation control method of the prop in one embodiment of the disclosure can be executed in a local terminal device or a server. When the operation control method of the prop runs on the server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system comprises the server and the client device.
In an optional embodiment, various cloud applications may be run under the cloud interaction system, for example: and (5) cloud games. Taking a cloud game as an example, the cloud game refers to a game mode based on cloud computing. In the cloud game operation mode, the game program operation main body and the game picture presentation main body are separated, the storage and the operation of the prop operation control method are completed on a cloud game server, and the client device is used for receiving and sending data and presenting the game picture, for example, the client device can be a display device with a data transmission function close to a user side, such as a mobile terminal, a television, a computer, a palm computer and the like; but the cloud game server which performs information processing is a cloud. When a game is played, a 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, data such as game pictures and the like are coded and compressed, the data are returned to the client device through a network, and finally, the data are decoded through the client device and the game pictures are output.
In an optional implementation manner, taking a game as an example, the local terminal device stores a game program and is used for presenting a game screen. The local terminal device is used for interacting with the player through a graphical user interface, namely, a game program is downloaded and installed and operated through the electronic device conventionally. The manner in which the local terminal device provides the graphical user interface to the player may include a variety of ways, for example, it may be rendered for display on a display screen of the terminal or provided to the player through holographic projection. For example, the local terminal device may include a display screen for presenting a graphical user interface including a game screen and a processor for running the game, generating the graphical user interface, and controlling display of the graphical user interface on the display screen.
In a possible implementation manner, an embodiment of the present invention provides an operation control method for a prop, where a graphical user interface is provided through a terminal device, where the terminal device may be the aforementioned local terminal device, and may also be the aforementioned client device in a cloud interaction system. A target prop is displayed in the graphical user interface; the target prop is placed in a prop container; specifically, a prop operation page can be displayed in the graphical user interface, a prop container is displayed in the prop operation page, the prop container can be in the form of a container grid, props collected by players are placed in the container grid, generally, a prop is placed in one container grid, and the number of the props is displayed near the container grid. The target props in the embodiment can be props such as gems and liquid medicines, the target props can be assembled on other props, for example, weapon props, and the target props can increase the force value of the weapon props.
As shown in fig. 1, the operation control method of the prop includes the following steps:
step S102, responding to a first trigger operation aiming at a target prop, displaying a prop identifier of the target prop in a graphical user interface, and displaying at least one prop to be assembled in a specified direction relative to the prop identifier; wherein, the prop to be assembled has a corresponding relation with the designated direction;
the first trigger operation may be a single click, a double click, a long press or a sliding operation. And after the target prop is subjected to the first trigger operation, displaying a prop identifier of the target prop in the image user interface, wherein the prop identifier can be an appearance picture of the target prop or a prop name, number and the like, and simultaneously displaying the prop to be assembled in a specified direction relative to the prop identifier. Specifying a bearing may include specifying a direction, specifying a distance, etc.; when the to-be-assembled props comprise a plurality of props, the corresponding designated directions of different to-be-assembled props are different, for example, the to-be-assembled prop 1 is positioned on the left side of the prop identification, and the to-be-assembled prop 2 is positioned on the right side of the prop identification; for another example, the prop 3 to be assembled is located at the top of the prop identifier and has a distance of 1 unit length from the prop identifier, and the prop 4 to be assembled is located at the bottom of the prop identifier and has a distance of 2 units length from the prop identifier. The prop to be assembled is usually a prop matched with the target prop, for example, the target prop may be assembled to the prop to be assembled, that is, the target prop and the prop to be assembled may be combined, paired, fused, and the like.
Step S104, responding to a first sliding operation with a target prop as a starting point, and determining a first selected prop from props to be assembled based on a relative position between a first contact point position of the first sliding operation and the target prop; the first selected prop is located at the designated position of the prop mark, and the designated position is matched with the relative position;
the player's finger presses down at the position of the target item, then keeps the pressed state, starts to slide the finger, and at this time, the above-mentioned first sliding operation is generated. In the execution process of the first sliding operation, the position of the first contact point is constantly changed, and the relative position of the first contact point and the target prop can be specifically that the position of the first contact point is positioned at the left side, the right upper corner and the like of the target prop, or the position of the first contact point is positioned at the bottom of the target prop and is 1 length unit away from the target prop; because the prop to be assembled is displayed in the designated position of the prop mark, the designated position matched with the relative position can be determined after the relative position of the first contact point position and the target prop is determined, and the first selected prop can be determined from the prop to be assembled after the designated position is determined. The designated position matched with the relative position may specifically include the same designated position as the relative position, or the designated position may be a position range in which the relative position is located in a certain designated position, that is, the relative position is matched with the designated position.
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 highlight or special color mode to prompt the player that the prop selected at the moment is the first selected prop.
And step S106, assembling the target prop to the first selected prop.
After the first selected prop is determined, the target prop can be controlled to be assembled on the first selected prop. In actual implementation, the target prop can be prompted to be assembled to the first selected prop in a progress bar or countdown mode, and if the first contact position leaves the first relative position before the assembly progress is completed or the countdown is finished, the target prop can be stopped from being assembled to the first selected prop. In addition, the contact point position of the first sliding operation can also be moved to other relative orientations, at this time, the selected prop can be determined based on the new relative orientation again, and the target prop is installed on the new selected prop again.
In the embodiment, the target props can be controlled to be assembled on a plurality of props to be assembled by changing the positions of the contacts for sliding operation; when the fingers of the player leave the touch screen, the contact positions disappear, the first sliding operation is finished, and the assembling operation of the target prop is finished.
The operation control method of the prop provides a graphical user interface through the terminal equipment; displaying a target prop in the graphical user interface; the target prop is placed in the prop container; responding to a first trigger operation aiming at the target prop, displaying a prop identifier of the target prop in a graphical user interface, and displaying at least one prop to be assembled in a specified direction relative to the prop identifier; the property to be assembled has a corresponding relation with the designated direction; responding to a first sliding operation with a target prop as a starting point, and determining a first selected prop from props to be assembled based on a relative position between a first contact point position of the first sliding operation and the target prop; the first selected prop is located at the designated position of the prop mark, and the designated position is matched with the relative position; and assembling the target prop to the first selected prop. In the method, after a target prop is triggered, the prop to be assembled is displayed in the designated position of the prop identifier, the prop is selected through the relative position of a contact of sliding operation and the target prop, and then the target prop is assembled on the selected prop; the assembly of one or more props can be realized through a sliding operation, the operation is simple and convenient, and the operation interaction experience of a player is improved.
In a specific implementation manner, the prop container is displayed in a first area of a graphical user interface; at least one prop to be assembled is displayed in a second area of the graphical user interface; as shown in fig. 2, before the first trigger operation is performed, a right area of the graphical user interface is a first area, a prop container is displayed in the first area, and a target prop is placed in the prop container; each target prop occupies a container grid, and the number of the target props can be displayed near the container grid. And displaying the prop to be assembled in the left area of the graphical user interface, wherein an assembly identifier is displayed at the bottom of the prop to be assembled so as to indicate whether the prop to be assembled is assembled with other props currently.
Responding to a first trigger operation aiming at the target prop, and generating a display window in a second area; wherein, the display window is displayed on the prop to be assembled in a covering manner; displaying a prop identifier corresponding to the target prop in the identifier display window, and displaying at least one prop identifier of the prop to be assembled in an appointed direction relative to the prop identifier. FIG. 3 shows, as an example, a circular display window generated in the left area of the graphical user interface after a player presses down a target item with a finger, and an item identifier of the target item displayed in the center area of the identifier display window; the props to be assembled are in one-to-one correspondence with the designated directions. And the prop identifications of the plurality of props to be assembled are distributed and displayed in each designated position of the prop identifications. Taking fig. 3 as an example, the props to be assembled include six props, and the prop identifier of each prop to be assembled is respectively displayed on the upper left, lower left, upper right, and lower right of the prop identifier.
It should be noted that, this embodiment aims at selecting the prop to be assembled according to the relative position of the contact position and the target prop, and therefore, the designated positions of different props to be assembled and prop identifications need to have obvious discrimination, and it is avoided that the player is difficult to select the prop to be assembled through the change of the contact position.
Further, in response to a first sliding operation with the target prop as a starting point, determining a relative position between a first contact point position of the first sliding operation and the target prop; and determining the prop to be assembled in the relative position of the prop mark relative to the target prop as a first selected prop. In the example of fig. 4, the first contact point position of the first sliding operation moves along the track shown by the line with the arrow, when the first contact point position is located at the arrow position, at this time, the first contact point position is located at the upper right corner of the prop identifier, and at this time, the relative position of the first contact point position and the target prop is in the upper right corner direction; and then, displaying the selected identifier on the prop to be assembled in the upper right corner direction of the prop identifier, wherein the prop to be assembled is the first selected prop.
Similarly, in the example of fig. 5, the first contact point position of the first sliding operation moves along the track shown by the line with the arrow, when the first contact point position is located at the arrow position, at this time, the first contact point position is located at the upper left corner of the prop identifier, and at this time, the relative position between the first contact point position and the target prop is in the upper left corner direction; and then, displaying the selected identifier on the prop to be assembled in the upper left corner direction of the prop identifier, wherein the prop to be assembled is the first selected prop.
In the above manner, the player starts to slide from the target prop, and slides to which position, and the prop to be assembled in the position is selected, so that the sliding manner can improve the convenience of operation compared with a multi-click manner, and particularly for a hand game, the sliding manner can reduce the error touch caused by clicking, and the accuracy and efficiency of interactive operation are improved.
After the prop is selected, in order to avoid assembling the target prop to the wrong prop due to the wrong sliding direction, in this embodiment, in response to the first contact position staying at the relative position, a progress mark of the assembling progress is displayed at the specified position of the first selected prop; and responding to the fact that the assembling progress reaches a preset threshold value, and assembling the target prop to the first selected prop.
In practical implementation, after the first contact position slides to the relative position, the designated position of the corresponding first selected prop starts to display a progress mark, the progress mark dynamically changes to indicate the current assembly progress, for example, when the assembly progress is 100%, the assembly is completed, and the target prop is assembled to the first selected prop; and if the assembly progress does not reach the preset threshold value, the first contact position leaves the relative position, at the moment, the display progress mark is cancelled, and the target prop is not assembled on the first selected prop.
The progress marker may be displayed at a position near the first selected prop, as in fig. 4, the progress marker is displayed at the bottom of the first selected prop; in addition, the progress marker can be displayed on the first selected prop in a semitransparent mode. Progress markers are typically displayed in a dynamic manner to indicate that the assembly progress is changing. The progress marker may also be understood as a countdown, when the countdown duration is over, the target property is assembled to the first selected property.
Through the mode, the process of assembling the prop can be buffered for a certain time, the wrong assembling of the prop caused by the mistaken sliding of a player is avoided, and the accuracy of assembling the prop is improved.
In addition, for the first selected prop, only one target prop can be assembled on the first selected prop, and a plurality of target props can also be assembled on the first selected prop. If only one target prop is assembled, the method can be realized through the embodiment; when a plurality of target objects need to be assembled, the player can keep the first touch point position at the relative position of the target objects.
Specifically, when the first selected prop can be provided with a plurality of target props, the first selected prop includes a plurality of assembly positions, and at this time, a position mark of each assembly position can be displayed around the first selected prop. In response to the first contact position staying in the relative orientation, displaying a progress indicator of a first assembly progress for a first position of the plurality of assembly positions; assembling the target prop to a first position in response to the first assembly progress reaching a preset threshold; displaying a progress indicator of a second assembly progress for a second location of the plurality of assembly locations in response to the first contact location remaining in the relative orientation; wherein the second position is different from the first position; and assembling the target prop to a second position in response to the second assembling progress reaching a preset threshold value.
Fig. 6 shows an example that when the first contact position stays at the top left corner of the target prop, the prop to be assembled at the top left corner of the prop identifier 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 a preset threshold, the target prop is assembled successfully at the first position, at this time, if the first contact position still stays at the above relative position of the target prop, the progress identifier of the second position starts to be displayed, and when the assembly progress of the second position reaches the preset threshold, the target prop is assembled successfully at the second position; and if the assembly progress of the second position does not reach the preset threshold value, but the first contact point position leaves the relative position of the target prop, at the moment, the target prop cannot be assembled on the second position.
In actual implementation, when the assembly positions of the props to be assembled are more, the number of the target props is enough, the first contact positions are always located in the relative mode of the target props, and at the moment, the target props can be continuously assembled on the props to be assembled. Meanwhile, when one of the three conditions is not met, the assembly is stopped. Specifically, in response to the target props being assembled at the plurality of assembly positions, or the target props being used up, or the first contact position being out of relative orientation, the assembly of the target props to the first selected prop is stopped. If the assembly positions are all provided with the target props or the target props are used up, but the first contact point positions are still located at the relative positions of the target props, at the moment, prompt information can be displayed to prompt players that the assembly positions are all provided with the target props or the target props are used up, so that the players stop sliding operation and carry out subsequent operation as soon as possible.
In addition, after the prop of the first selected prop is assembled, the player can also continue to assemble other props through sliding operation. Specifically, a second selected prop is determined from props to be assembled in response to a second sliding operation with the first contact point position as a starting point and based on the relative position of the second contact point position of the second sliding operation and the target prop; and assembling the target prop to the second selected prop.
In the example of fig. 7, the sliding operation is continued from the first contact point position to the second contact point position, the relative orientation of the second contact point position and the target prop is different from the relative orientation of the first contact point position and the target prop, and at this time, the selected prop to be assembled is also different. In fig. 7, the relative position corresponding to the first contact point position is an upper left corner position, and the first selected prop is located at the upper left corner of the prop identifier; the corresponding relative position of the second contact point position is the lower left corner, and the second selected prop is positioned at the lower left corner of the prop mark.
Through the mode, the change of the selected prop to be assembled can be realized, so that the target prop can be assembled on the plurality of props to be assembled through one-time sliding operation.
It should be noted that when the fingers of the player press down from the target props and start to slide, the fingers can sequentially select a plurality of props to be assembled through sliding operation without leaving the touch screen, and then the target props are assembled on the plurality of props to be assembled. In the related technology, a player needs to click each prop to be assembled in sequence, then the target props are assembled on each prop to be assembled in sequence in a clicking or dragging mode, and the number of operation steps is large; in the embodiment, the assembly of a plurality of props can be completed through one-time sliding operation, and the operation is convenient and fast and the operation efficiency is high.
Considering that the directions around the prop identifier are limited, if the props to be assembled are more, all the props to be assembled cannot be displayed, and under the condition, responding to a first trigger operation aiming at the target props, and displaying a switching control in a graphical user interface; wherein the toggle control is to: controlling and switching the props to be assembled in the appointed directions of the prop identifications; and responding to the trigger operation acting on the switching control, and switching the prop to be assembled in the specified direction of the prop identifier.
The switching control can be displayed simultaneously with the display window, the identifier of other props or other weapons can be displayed on the switching control, and the player can control the display window to display other props to be assembled by triggering the switching control with fingers; it should be noted that, when the player triggers the switching control, the finger performing the sliding operation is always located on the touch screen, that is, the touch point position of the sliding operation does not disappear. When other props to be assembled are displayed, a return control can be displayed at the same time, and after the return control is triggered, the props to be assembled which are displayed before the switching control is triggered are continuously displayed. This mode can assemble for the more diversified props of waiting to assemble, improves the convenience of assembling the stage property operation.
Further, in response to the ending operation of the first sliding operation, the display of the prop identifier of the target prop is cancelled, and the display of the prop to be assembled in the specified direction relative to the prop identifier is cancelled. The ending operation of the first sliding operation may be understood as that the finger of the player leaves the touch screen, at this time, the touch position disappears, and the graphical user interface returns to the state before the first triggering operation, as shown in fig. 2, but since the target prop has already been assembled on part of the props to be assembled, a relevant assembly identifier may be displayed around the assembled target prop to indicate the assembly state of each type of prop.
When the target prop needs to be removed, the assembly identifier can be dragged, meanwhile, a removal control is displayed in the interface, the assembly identifier is dragged to the removal control and then released, and then the target prop can be removed.
Corresponding to the above method embodiment, referring to the schematic structural diagram of the operation control device for a prop shown in fig. 8, a graphical user interface is provided through a terminal device; displaying a target prop in the graphical user interface; the target prop is placed in a prop container; the device includes:
the identification display module 80 is configured to display, in response to a first trigger operation for the target prop, a prop identification of the target prop in the graphical user interface, and display at least one prop to be assembled in a designated orientation with respect to the prop identification; the property to be assembled has a corresponding relation with the designated direction;
the prop determining module 82 is used for responding to a first sliding operation taking the target prop as a starting point, and determining a first selected prop from the props to be assembled based on the relative position between the first contact point position of the first sliding operation and the target prop; the first selected prop is located at the designated position of the prop mark, and the designated position is matched with the relative position;
and an item assembly module 84 for assembling the target item to the first selected item.
The operation control device of the prop provides a graphical user interface through the terminal equipment; displaying a target prop in the graphical user interface; the target prop is placed in a prop container; responding to a first trigger operation aiming at the target prop, displaying a prop identifier of the target prop in a graphical user interface, and displaying at least one prop to be assembled in a specified direction relative to the prop identifier; the property to be assembled has a corresponding relation with the designated direction; responding to a first sliding operation with a target prop as a starting point, and determining a first selected prop from props to be assembled based on a relative position between a first contact point position of the first sliding operation and the target prop; the first selected prop is located at the designated position of the prop mark, and the designated position is matched with the relative position; and assembling the target prop to the first selected prop. In the method, after a target prop is triggered, the prop to be assembled is displayed in the designated position of the prop identifier, the prop is selected through the relative position of a contact of sliding operation and the target prop, and then the target prop is assembled on the selected prop; the assembly of one or more props can be realized through a sliding operation, the operation is simple and convenient, and the operation interaction experience of a player is improved.
The prop container is displayed in a first area of a graphical user interface; at least one prop to be assembled is displayed in a second area of the graphical user interface; the identifier display module is further configured to: responding to a first trigger operation aiming at the target prop, and generating a display window in a second area; the display window is displayed on the prop to be assembled in a covering mode; displaying a prop identifier corresponding to the target prop in the identifier display window, and displaying at least one prop to be assembled in a specified direction relative to the prop identifier.
The prop mark of the target prop is displayed in the central area of the mark display window; the props to be assembled are in one-to-one correspondence with the designated directions.
The prop determining module is further configured to: responding to a first sliding operation with the target prop as a starting point, and determining the relative position between the first contact point position of the first sliding operation and the target prop; and determining the prop to be assembled in the relative position of the prop mark relative to the target prop as a first selected prop.
Above-mentioned stage property assembly module still is used for: displaying a progress mark of the assembly progress at the designated position of the first selected prop in response to the first contact position staying at the relative position; and responding to the fact that the assembling progress reaches a preset threshold value, and assembling the target prop to the first selected prop.
The first selected prop comprises a plurality of assembling positions; above-mentioned stage property assembly module still is used for: displaying a progress indicator of a first assembly progress for a first location of the plurality of assembly locations in response to the first contact location staying at the relative orientation; assembling the target prop to a first position in response to the first assembly progress reaching a preset threshold; displaying a progress indicator of a second assembly progress for a second location of the plurality of assembly locations in response to the first contact location remaining in the relative orientation; wherein the second position is different from the first position; and assembling the target prop to a second position in response to the second assembling progress reaching a preset threshold value.
The apparatus further comprises an assembly stop module for: in response to each of the plurality of fitting locations being fitted with a target prop, or the target prop being used up, or the first contact location being out of relative orientation, fitting of the target prop to the first selected prop is stopped.
The apparatus further comprises a second assembly module for: responding to a second sliding operation with the first contact point position as a starting point, and determining a second selected prop from the props to be assembled based on the relative position of the second contact point position of the second sliding operation and the target prop; and assembling the target prop to a second selected prop.
The device further comprises a cancellation display module, which is used for: and in response to the ending operation of the first sliding operation, canceling the display of the prop identifier of the target prop, and canceling the display of the prop to be assembled in the specified direction relative to the prop identifier.
The device further comprises a switching display module for: responding to a first trigger operation aiming at the target prop, and displaying a switching control in a graphical user interface; wherein the toggle control is to: controlling and switching the props to be assembled in the appointed directions of the prop identifications; and responding to the trigger operation acting on the switching control, and switching the prop to be assembled in the specified direction of the prop identifier.
The embodiment also provides an electronic device, which comprises a processor and a memory, wherein the memory stores machine executable instructions capable of being executed by the processor, and the processor executes the machine executable instructions to implement the operation control method of the prop. The electronic device may be a server or a terminal device.
Referring to fig. 9, the electronic device includes a processor 100 and a memory 101, where the memory 101 stores machine executable instructions capable of being executed by the processor 100, and the processor 100 executes the machine executable instructions to implement the operation control method of the prop.
Further, the electronic device shown in fig. 9 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.
The Memory 101 may include a high-speed Random Access Memory (RAM) and may also include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 103 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used. The bus 102 may be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 9, but this does not indicate only one bus or one type of bus.
Processor 100 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 100. The Processor 100 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 101, and the processor 100 reads the information in the memory 101 and completes the steps of the method of the foregoing embodiment in combination with the hardware thereof.
The processor in the electronic device may implement the following operations in the operation control method of the prop by executing the machine executable instruction:
providing a graphical user interface through the terminal device; displaying a target prop in the graphical user interface; the target prop is placed in a prop container; responding to a first trigger operation aiming at the target prop, displaying a prop identifier of the target prop in a graphical user interface, and displaying at least one prop to be assembled in a specified direction relative to the prop identifier; the property to be assembled has a corresponding relation with the designated direction; responding to a first sliding operation with a target prop as a starting point, and determining a first selected prop from props to be assembled based on a relative position between a first contact point position of the first sliding operation and the target prop; the first selected prop is located at the designated position of the prop mark, and the designated position is matched with the relative position; and assembling the target prop to the first selected prop.
The prop container is displayed in a first area of the graphical user interface; at least one prop to be assembled is displayed in a second area of the graphical user interface; responding to a first trigger operation aiming at the target prop, and generating a display window in a second area; the display window is displayed on the prop to be assembled in a covering mode; displaying a prop identifier corresponding to the target prop in the identifier display window, and displaying at least one prop identifier of the prop to be assembled in a specified direction relative to the prop identifier.
The prop mark of the target prop is displayed in the central area of the mark display window; the props to be assembled are in one-to-one correspondence with the designated directions.
Responding to a first sliding operation with a target prop as a starting point, and determining a relative position between a first contact point position of the first sliding operation and the target prop; and determining the prop to be assembled in the relative position of the prop mark relative to the target prop as a first selected prop.
Displaying a progress mark of the assembly progress at the designated position of the first selected prop in response to the first contact position staying at the relative position; and responding to the fact that the assembling progress reaches a preset threshold value, and assembling the target prop to the first selected prop.
Displaying a progress indicator of a first assembly progress for a first location of the plurality of assembly locations in response to the first contact location staying at the relative orientation; assembling the target prop to a first position in response to the first assembly progress reaching a preset threshold; displaying a progress indicator of a second assembly progress for a second location of the plurality of assembly locations in response to the first contact location remaining in the relative orientation; wherein the second position is different from the first position; and assembling the target prop to a second position in response to the second assembly progress reaching a preset threshold.
In response to each of the plurality of fitting locations being fitted with a target prop, or the target prop being used up, or the first contact location being out of relative orientation, fitting of the target prop to the first selected prop is stopped.
Responding to a second sliding operation with the first contact point position as a starting point, and determining a second selected prop from the props to be assembled based on the relative position of the second contact point position of the second sliding operation and the target prop; and assembling the target prop to a second selected prop.
And in response to the ending operation of the first sliding operation, canceling the display of the prop identifier of the target prop, and canceling the display of the prop to be assembled in the specified direction relative to the prop identifier.
Responding to a first trigger operation aiming at the target prop, and displaying a switching control in a graphical user interface; wherein the toggle control is to: controlling and switching the props to be assembled in the appointed directions of the prop identifications; and responding to the trigger operation acted on the switching control, and switching the prop to be assembled in the specified direction of the prop identifier.
In the above mode, after the target prop is triggered, the prop to be assembled is displayed in the designated position of the prop identifier, the prop is selected through the relative position of the contact of the sliding operation and the target prop, and then the target prop is assembled on the selected prop; the assembly of one or more props can be realized through a sliding operation, the operation is simple and convenient, and the operation interaction experience of a player is improved.
The embodiment also provides a machine-readable storage medium, wherein 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 realize the operation control method of the prop.
The machine-executable instructions stored in the machine-readable storage medium can implement the following operations in the operation control method of the prop by executing the machine-executable instructions:
providing a graphical user interface through the terminal device; a target prop is displayed in the graphical user interface; the target prop is placed in the prop container; responding to a first trigger operation aiming at the target prop, displaying a prop identifier of the target prop in a graphical user interface, and displaying at least one prop to be assembled in a specified direction relative to the prop identifier; the prop to be assembled has a corresponding relation with the specified direction; responding to a first sliding operation with a target prop as a starting point, and determining a first selected prop from props to be assembled based on a relative position between a first contact point position of the first sliding operation and the target prop; the first selected prop is located at the designated position of the prop mark, and the designated position is matched with the relative position; and assembling the target prop to the first selected prop.
The prop container is displayed in a first area of the graphical user interface; at least one prop to be assembled is displayed in a second area of the graphical user interface; responding to a first trigger operation aiming at the target prop, and generating a display window in a second area; wherein, the display window is displayed on the prop to be assembled in a covering manner; displaying a prop identifier corresponding to the target prop in the identifier display window, and displaying at least one prop identifier of the prop to be assembled in an appointed direction relative to the prop identifier.
The prop identification of the target prop is displayed in the central area of the identification display window; the props to be assembled are in one-to-one correspondence with the designated directions.
Responding to a first sliding operation with a target prop as a starting point, and determining a relative position between a first contact point position of the first sliding operation and the target prop; and determining the prop to be assembled in the relative position of the prop mark relative to the target prop as a first selected prop.
Responding to the first contact point position staying at the relative position, and displaying a progress mark of the assembly progress at the specified position of the first selected prop; and responding to the fact that the assembling progress reaches a preset threshold value, and assembling the target prop to the first selected prop.
In response to the first contact position staying in the relative orientation, displaying a progress indicator of a first assembly progress for a first position of the plurality of assembly positions; assembling the target prop to a first position in response to the first assembly progress reaching a preset threshold; displaying a progress indicator of a second assembly progress for a second location of the plurality of assembly locations in response to the first contact location remaining in the relative orientation; wherein the second position is different from the first position; and assembling the target prop to a second position in response to the second assembling progress reaching a preset threshold value.
In response to each of the plurality of fitting locations being fitted with a target prop, or the target prop being used up, or the first contact location being out of relative orientation, fitting of the target prop to the first selected prop is stopped.
Responding to a second sliding operation with the first contact point position as a starting point, and determining a second selected prop from the props to be assembled based on the relative position of the second contact point position of the second sliding operation and the target prop; and assembling the target prop to the second selected prop.
And in response to the ending operation of the first sliding operation, canceling the display of the prop identifier of the target prop, and canceling the display of the prop to be assembled in the specified direction relative to the prop identifier.
Responding to a first trigger operation aiming at the target prop, and displaying a switching control in a graphical user interface; wherein the toggle control is to: controlling and switching the props to be assembled in the appointed directions of the prop identifications; and responding to the trigger operation acted on the switching control, and switching the prop to be assembled in the specified direction of the prop identifier.
In the above mode, after the target prop is triggered, the prop to be assembled is displayed in the designated position of the prop identifier, the prop is selected through the relative position of the contact of the sliding operation and the target prop, and then the target prop is assembled on the selected prop; the assembly of one or more props can be realized through a sliding operation, the operation is simple and convenient, and the operation interaction experience of a player is improved.
The method, the apparatus, and the computer program product for controlling the operation of the prop provided in the embodiments of the present invention include a computer-readable storage medium storing program codes, where instructions included in the program codes may be used to execute the method described in the foregoing method embodiments, and specific implementation may refer to the method embodiments, which are not described herein again.
It can be clearly understood by those skilled in the art that, for convenience and simplicity of description, the specific working process of the system and the apparatus described above may refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
In addition, in the description of the embodiments of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present invention can be understood in specific cases for those skilled in the art.
The functions may be stored in a computer-readable storage medium if they are implemented in the form of software functional units and sold or used as separate products. Based on such understanding, the technical solution of the present invention or a part thereof which substantially contributes to the prior art may be embodied in the form of a software product, which 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) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplification of description, but do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that the following embodiments are merely illustrative of the present invention, and not restrictive, and the scope of the present invention is not limited thereto: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (13)

1. A method for controlling the operation of a prop is characterized in that a graphical user interface is provided through terminal equipment; a target prop is displayed in the graphical user interface; the target prop is placed in a prop container; the method comprises the following steps:
responding to a first trigger operation aiming at the target prop, displaying a prop identifier of the target prop in the graphical user interface, and displaying at least one prop to be assembled in a specified direction relative to the prop identifier; the prop to be assembled has a corresponding relation with the designated direction;
in response to a first sliding operation with the target prop as a starting point, determining a first selected prop from the props to be assembled based on the relative position between a first contact point position of the first sliding operation and the target prop; the first selected prop is located at the designated position of the prop identifier, and the designated position is matched with the relative position;
assembling the target prop onto the first selected prop.
2. The method of claim 1, wherein the prop container is displayed in a first area of the graphical user interface; at least one prop to be assembled is displayed in a second area of the graphical user interface;
the step of displaying the prop identifier of the target prop in the graphical user interface in response to the first trigger operation for the target prop, and displaying at least one prop to be assembled in a specified orientation relative to the prop identifier, includes:
generating a display window in the second area in response to a first trigger operation aiming at the target prop; the display window is displayed on the prop to be assembled in a covering mode;
and displaying a prop identifier corresponding to the target prop in the identifier display window, and displaying at least one prop identifier of the prop to be assembled in an appointed direction relative to the prop identifier.
3. The method of claim 2, wherein the item identification of the target item is displayed in a central region of the identification display window; the props to be assembled are multiple and correspond to the appointed directions one by one.
4. The method of claim 1, wherein the step of determining a first selected prop from the props to be assembled in response to a first sliding operation initiated at the target prop, based on a relative orientation between a first contact location of the first sliding operation and the target prop, comprises:
in response to a first sliding operation starting from the target prop, determining a relative orientation between a first contact point position of the first sliding operation and the target prop;
and determining the prop to be assembled in the relative direction relative to the prop identifier of the target prop as a first selected prop.
5. The method of claim 1, wherein the step of fitting the target prop to the first selected prop comprises:
displaying a progress mark of the assembly progress at a designated position of the first selected prop in response to the first contact point position staying at the relative position;
and responding to the fact that the assembly progress reaches a preset threshold value, and assembling the target prop to the first selected prop.
6. The method of claim 1, wherein the first selected prop includes a plurality of mounting locations thereon; the step of fitting the target prop to the first selected prop comprises:
displaying a progress indicator of a first assembly progress for a first location of the plurality of assembly locations in response to the first contact location staying at the relative orientation;
assembling the target prop to the first position in response to the first assembly progress reaching a preset threshold;
displaying a progress indicator of a second assembly progress for a second location of the plurality of assembly locations in response to the first contact location remaining in the relative orientation; wherein the second position is different from the first position;
and assembling the target prop to the second position in response to the second assembling progress reaching a preset threshold value.
7. The method of claim 6, further comprising:
in response to the target props each being fitted with the target props, or the target props being used up, or the first contact positions being out of the relative orientation, stopping fitting of the target props to the first selected props.
8. The method of claim 1, wherein after the step of fitting the target prop to the selected prop, the method further comprises:
responding to a second sliding operation with the first contact point position as a starting point, and determining a second selected prop from the props to be assembled based on the relative position of the second contact point position of the second sliding operation and the target prop;
assembling the target prop onto the second selected prop.
9. The method of claim 1, wherein after the step of fitting the target prop to the selected prop, the method further comprises:
and in response to the ending operation of the first sliding operation, canceling the display of the prop identifier of the target prop, and canceling the display of the prop to be assembled in the specified direction relative to the prop identifier.
10. The method of claim 1, further comprising:
responding to a first trigger operation aiming at the target prop, and displaying a switching control in the graphical user interface; wherein the toggle control is to: controlling and switching the props to be assembled in the designated directions of the prop identifications;
and switching the to-be-assembled prop in the designated position of the prop identifier in response to the trigger operation acting on the switching control.
11. The device for operating and controlling the props is characterized in that a graphical user interface is provided through terminal equipment; a target prop is displayed in the graphical user interface; the target prop is placed in a prop container; the device comprises:
the identification display module is used for responding to a first trigger operation aiming at the target prop, displaying the prop identification of the target prop in the graphical user interface, and displaying at least one prop to be assembled in a specified direction relative to the prop identification; the prop to be assembled has a corresponding relation with the designated direction;
the prop determining module is used for responding to a first sliding operation with the target prop as a starting point, and determining a first selected prop from the props to be assembled based on the relative position between the first contact point position of the first sliding operation and the target prop; the first selected prop is located at the designated position of the prop mark, and the designated position is matched with the relative position;
and the prop assembling module is used for assembling the target prop to the first selected prop.
12. An electronic device comprising a processor and a memory, the memory storing machine executable instructions executable by the processor, the processor executing the machine executable instructions to implement the method of operation control of a prop of any one of claims 1 to 10.
13. A machine-readable storage medium, having stored thereon machine-executable instructions, which when invoked and executed by a processor, cause the processor to implement a method of controlling the operation of a prop according to any one of claims 1 to 10.
CN202211279784.7A 2022-10-19 2022-10-19 Operation control method and device of prop and electronic equipment Pending CN115671731A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211279784.7A CN115671731A (en) 2022-10-19 2022-10-19 Operation control method and device of prop and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211279784.7A CN115671731A (en) 2022-10-19 2022-10-19 Operation control method and device of prop and electronic equipment

Publications (1)

Publication Number Publication Date
CN115671731A true CN115671731A (en) 2023-02-03

Family

ID=85066492

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211279784.7A Pending CN115671731A (en) 2022-10-19 2022-10-19 Operation control method and device of prop and electronic equipment

Country Status (1)

Country Link
CN (1) CN115671731A (en)

Similar Documents

Publication Publication Date Title
CN108854063B (en) Aiming method and device in shooting game, electronic equipment and storage medium
CN110354506B (en) Game operation method and device
CN111330260A (en) Method and device for controlling props in game, electronic equipment and storage medium
CN110339556B (en) Display control method and device in game
CN107626105B (en) Game picture display method and device, storage medium and electronic equipment
CN113813604A (en) Information interaction method and device in game and electronic equipment
CN115487498A (en) Game display control method and device and electronic equipment
CN109603154B (en) Game interface testing method, client, hosting server and system
CN113721819A (en) Man-machine interaction method and device and electronic equipment
CN106569675B (en) A kind of prompting frame display methods and device
CN117046100A (en) Formation control method and device in game and electronic equipment
CN115671731A (en) Operation control method and device of prop and electronic equipment
CN115738230A (en) Game operation control method and device and electronic equipment
CN116020114A (en) Game operation control method and device and electronic equipment
CN113694514B (en) Object control method and device
CN115634456A (en) Object matching method and device in game and electronic equipment
CN112774187B (en) Weapon assembling method and device in game and electronic equipment
CN115328297A (en) Game control method and device and electronic equipment
CN112023401B (en) Processing method and device for path finding recovery and electronic equipment
CN115845383A (en) Interactive control method and device for football game and electronic equipment
CN115738271A (en) Game skill control method, device, equipment and storage medium
CN113721820A (en) Man-machine interaction method and device and electronic equipment
CN114053706A (en) Game interface visual angle processing method, device, equipment and storage medium
CN118718383A (en) Game operation control method and device and electronic equipment
CN115193038B (en) Interaction control method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination