Revolution control method and device of game assembly and electronic equipment
By providing a graphical user interface in game technology, displaying the rotation track logo of the game components and responding to player operations, the complex problem of rotation angle settings in the existing technology is solved, and a more intuitive and simple rotation angle settings are achieved, improving the gaming experience.
Patent Information
- Application Number
- CN202411905997.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-20
- Publication Date
- 2025-03-28
AI Technical Summary
In the existing gaming technology, when players set the revolution movement of game components in the UGC editor, the operation is complicated and not intuitive, making it difficult to intuitively edit the rotation angle of the revolution.
By providing a graphical user interface on the terminal device, displaying the rotation track logo corresponding to the game component, and in response to the player's designated operation of the rotation track logo, the display of the component logo is controlled to determine the rotation angle, and the revolution movement of the game component in the game scene is realized.
The setting method of the revolution angle is simplified, making it easier for players to understand the already set revolution angle and improves the player's gaming experience.
Smart Images

Figure CN119701367A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of game technology, and in particular to a method, device and electronic device for controlling the revolution of a game component. Background Art
[0002] In some games, players can generate game components or set the movement trajectory of game components. This kind of game mode is usually implemented through the UGC editor. Among them, the full name of UGC in English is "User Generated Content", which is translated into Chinese as user-generated content. When players set the revolution of game components in the UGC editor, they can only indirectly control the angle of the revolution by entering the movement speed and time. This method is relatively complicated and not intuitive. Summary of the invention
[0003] In view of this, the purpose of the present disclosure is to provide a method, device and electronic device for controlling the revolution of a game component, so as to simplify the setting method of the revolution angle, facilitate players to understand the set revolution angle, and improve the player's gaming experience.
[0004] In a first aspect, an embodiment of the present disclosure provides a method for controlling the revolution of a game component, wherein a graphical user interface is provided through a terminal device, and a game scene to be edited provided by a running game program is displayed in the graphical user interface; the game scene to be edited includes a game component; the method comprises: displaying a revolution orbit identifier corresponding to the game component in the game scene to be edited; in response to a specified operation acting on the revolution orbit identifier, controlling a component identifier corresponding to the game component to be displayed on the revolution orbit identifier, and determining the revolution angle of the game component based on the operation parameters of the specified operation; in response to a revolution trigger event for the game component, controlling the game component to perform an orbital motion in the game scene according to the revolution angle.
[0005] In a second aspect, an embodiment of the present disclosure provides a revolution control device for a game component, which provides a graphical user interface through a terminal device, and displays a game scene to be edited provided by running a game program in the graphical user interface; the game scene to be edited includes a game component; the device includes: a revolution orbit identification display module, which is used to display the revolution orbit identification corresponding to the game component in the game scene to be edited; a revolution angle determination module, which is used to respond to a specified operation acting on the revolution orbit identification, control the display of the component identification corresponding to the game component on the revolution orbit identification, and determine the revolution angle of the game component based on the operation parameters of the specified operation; a revolution motion control module, which is used to respond to a revolution trigger event for the game component, and control the game component to perform orbital motion according to the revolution angle in the game scene.
[0006] In a third aspect, an embodiment of the present invention provides an electronic device, including a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement the above-mentioned method for controlling the revolution of a game component.
[0007] In a fourth aspect, an embodiment of the present invention 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 prompt the processor to implement the above-mentioned method for controlling the revolution of the game component.
[0008] The embodiments of the present invention bring the following beneficial effects:
[0009] The above-mentioned method, device and electronic device for controlling the revolution of a game component display the revolution track mark corresponding to the game component in the game scene to be edited; in response to the specified operation acting on the revolution track mark, control the display of the component mark corresponding to the game component on the revolution track mark, and determine the revolution angle of the game component based on the operation parameters of the specified operation; in response to the revolution trigger event for the game component, control the game component to perform revolution movement according to the revolution angle in the game scene. In this method, the player can set the revolution angle of the game component on the revolution track mark by the specified operation acting on the revolution track mark, and understand the current revolution angle of the game component through the display position of the component mark, which simplifies the setting method of the revolution angle, facilitates the player to understand the set revolution angle, and improves the player's gaming experience.
[0010] Other features and advantages of the present disclosure will be described in the following description, and partly become apparent from the description, or understood by practicing the present disclosure. The purpose and other advantages of the present disclosure are realized and obtained by the structures particularly pointed out in the description, claims and drawings.
[0011] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] In order to more clearly illustrate the specific embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the specific embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.
[0013] Figure 1 A flowchart of a method for controlling the revolution of a game component provided by an embodiment of the present disclosure;
[0014] Figure 2 A schematic diagram of a graphical user interface provided in an embodiment of the present disclosure;
[0015] Figure 3 Another graphical user interface schematic diagram provided for an embodiment of the present disclosure;
[0016] Figure 4 Another graphical user interface schematic diagram provided for an embodiment of the present disclosure;
[0017] Figure 5 A schematic diagram of the structure of a revolution control device of a game component provided by an embodiment of the present disclosure;
[0018] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure.
[0019] Description of the accompanying drawings: 21- game components; 22- orbital mark; 23- component mark. DETAILED DESCRIPTION
[0020] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present disclosure.
[0021] Currently, in the mobile game UGC editor, the angle of revolution can only be indirectly controlled by inputting the movement speed and time, which is costly and not intuitive. Players cannot intuitively edit the rotation angle of revolution.
[0022] Based on this, the embodiments of the present disclosure provide a method, device and electronic device for controlling the revolution of a game component. This technology can be applied to the skill release process in the game.
[0023] In one embodiment of the present invention, the revolution control method of the game component can be run on a local terminal device or a server. When the revolution control method of the game component is run on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.
[0024] In an optional implementation, various cloud applications, such as cloud games, can be run under the cloud interaction system. Taking cloud games as an example, cloud games refer to a game mode based on cloud computing. In the operation mode of cloud games, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the revolution control method of the game component are completed on the cloud game server. The role of the client device is used for receiving and sending data and presenting the game screen. For example, the client device can be a display device with data transmission function close to the user side, such as a mobile terminal, a TV, a computer, a handheld computer, etc.; but the cloud game server in the cloud is used for information processing. When playing the game, the user operates the client device to send an operation instruction to the cloud game server. The cloud game server runs the game according to the operation instruction, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.
[0025] In an optional embodiment, taking a game as an example, a local terminal device stores a game program and is used to present a game screen. The local terminal device is used to interact with the user through a graphical user interface, that is, the game program is downloaded and installed by an electronic device and run conventionally. The local terminal device may provide the graphical user interface to the user in a variety of ways, for example, it may be rendered and displayed on a display screen of the terminal, or provided to the user through a holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present a graphical user interface, the graphical user interface includes a game screen, and the processor is used to run the game, generate a graphical user interface, and control the display of the graphical user interface on the display screen.
[0026] See also Figure 1 First, a method for controlling the revolution of a game component provided in an embodiment of the present invention is introduced. A graphical user interface is provided through a terminal device, and a game scene to be edited provided by running a game program is displayed in the graphical user interface; the game scene to be edited includes a game component.
[0027] The method comprises the following steps:
[0028] Step S102: displaying the orbital mark corresponding to the game component in the game scene to be edited.
[0029] The above-mentioned orbit mark is used to indicate the orbit of the game component. The orbit can be provided by the system, or it can be determined by the player by setting the orbit center, orbit radius and other orbit parameters, which are not limited here. The game component is usually displayed on the orbit mark, and the location of the game component can be regarded as the orbit starting point of the game component.
[0030] In order to reflect that the game component is performing an orbital motion on the orbit indicated by the orbital mark, the component mark of the game component can also be displayed on the orbital mark. The component mark can be displayed at the same time as the orbital mark is displayed, or it can be displayed only when the player triggers the mode of setting the orbital angle of the game component through a certain trigger operation, which is not limited here.
[0031] The component logo may have the same shape as the game component but a different display format; or the component logo may have a different shape from the game component. The central angle between the display position of the component logo on the revolution track logo and the display position of the game component may be regarded as the initial revolution angle.
[0032] Step S104, in response to a designated operation on the revolution track mark, controlling the display of a component mark corresponding to the game component on the revolution track mark, and determining the revolution angle of the game component based on the operation parameters of the designated operation.
[0033] The above-mentioned specified operations acting on the revolution track mark can be of various types, such as click operations, sliding operations, etc. For example, the player can click on a certain position on the revolution track mark, and then the component mark corresponding to the game component can be displayed at this position, and the center angle between this position and the display position of the game component is determined as the revolution angle of the game component. Since the center angle between the two positions is usually also related to the revolution direction, a revolution direction can be set in advance. For example, if the revolution direction is clockwise, the revolution angle of the game component is the angle passed by rotating clockwise from the display position of the game component along the revolution track mark to the position where the component mark is located. A control for changing the revolution direction can also be set to facilitate players to change the revolution direction according to their needs.
[0034] The above-mentioned specified operation can be a sliding operation, and the starting point of the sliding operation is usually a game component. When the initial revolution angle is preset and the component mark is displayed, the starting point of the sliding operation can also be the component mark. The contact point of the sliding operation usually moves along the revolution track mark. After the sliding operation is completed, the component mark can be displayed at the end position of the contact point of the sliding operation, or the component mark can be controlled to move along with the contact point on the revolution track mark during the movement of the contact point of the sliding operation.
[0035] In order to make the player understand the revolution track corresponding to the revolution angle set by the player, the mark part of the revolution track mark corresponding to the revolution angle can be displayed in a special format, which can be displayed in bold, highlighted, or in other colors, etc., without limitation. The revolution angle, revolution direction and other information can also be displayed in the graphical user interface, without limitation.
[0036] Step S106, in response to the revolution triggering event for the game component, controlling the game component to perform revolution motion in the game scene according to the revolution angle.
[0037] The above revolution trigger event can be an edit end event of a game component, or a revolution effect viewing event of a game component, etc. It can be set according to needs and is not limited here.
[0038] After the revolution trigger event occurs, the game component needs to be controlled to perform revolution along the revolution track indicated by the revolution track indicator, and stop after rotating to a certain revolution angle. Usually, the revolution track indicator is cancelled, and only the game component is made to present the revolution effect. The game component may perform revolution in the game scene to be edited, or in other game scenes, and there is no restriction here.
[0039] The above-mentioned method for controlling the revolution of a game component displays the revolution track mark corresponding to the game component in the game scene to be edited; in response to the specified operation acting on the revolution track mark, controls the display of the component mark corresponding to the game component on the revolution track mark, and determines the revolution angle of the game component based on the operation parameters of the specified operation; in response to the revolution trigger event for the game component, controls the game component to perform revolution movement in the game scene according to the revolution angle. In this method, the player can set the revolution angle of the game component on the revolution track mark by the specified operation acting on the revolution track mark, and understand the current revolution angle of the game component through the display position of the component mark, which simplifies the setting method of the revolution angle, facilitates the player to understand the set revolution angle, and improves the player's gaming experience.
[0040] The following embodiment provides a specific method for responding to a specified operation on a revolution track mark, controlling the display of a component mark corresponding to a game component on the revolution track mark, and determining the revolution angle of the game component based on the operation parameters of the specified operation.
[0041] In actual applications, while displaying the orbital mark corresponding to the game component in the game scene to be edited, the component mark corresponding to the game component can be displayed at the specified position of the orbital mark. The specified position can be randomly determined by the system or specified by the player, which is not limited here. Figure 2 As shown, the game component 21 is displayed at the left end of the orbit mark 22, and the component mark 23 is displayed at the right end of the orbit mark 22. The arrow on the orbit mark indicates the current orbit direction.
[0042] In order to make the player understand the revolution track corresponding to the current revolution angle, the first identification part of the revolution track identification can be displayed in a preset first display format. The first identification part corresponds to the track that the game component passes through when it rotates along the preset revolution direction to the current position of the component identification, that is, Figure 2 The bold part of the orbit mark in the orbit mark. The mark part of the orbit mark except the first mark part is displayed in a preset initial display format; the first display format is different from the initial display format. Specifically, the first display format can be bold, highlighted, or displayed in other colors, etc., which is not limited here.
[0043] If the component mark is displayed at the same time as the orbit mark, the specified operation may be a sliding operation starting from the component mark. In response to a first sliding operation starting from the component mark and sliding along the orbit mark, the component mark is controlled to move along the orbit mark following the contact point of the first sliding operation.
[0044] The above-mentioned designated operation may also be a sliding operation starting from the game component, and the component identifier is generated only when the sliding operation starts. Specifically, in response to a second sliding operation starting from the game component and along the revolution track identifier, a component identifier corresponding to the game component is generated, and the component identifier is controlled to rotate along the revolution track identifier following the contact point of the second sliding operation.
[0045] When the control component mark rotates along the revolution track mark, the current revolution track can be displayed in a second display format different from the first display format. For example, the color corresponding to the second display format is different from the color corresponding to the first display format, and the track corresponding to the second display format is thicker than the track corresponding to the first display format.
[0046] For the first sliding operation, the first target revolution direction can be determined based on the sliding parameters of the first sliding operation, the initial position of the component identifier and the preset revolution direction. For example, if the preset revolution direction is clockwise, the center angle between the initial position of the component identifier and the position of the game component is 180°, and the first sliding operation is counterclockwise, and the center angle corresponding to the sliding track is 90°, then the target revolution direction at this time is still clockwise; if the first sliding operation is counterclockwise, and the center angle corresponding to the sliding track is 270°, then the target revolution direction at this time is counterclockwise.
[0047] For the second sliding operation, the target revolution direction can be directly determined based on the sliding parameters of the first sliding operation. For example, after the first sliding operation slides 180° clockwise and then slides 90° counterclockwise, it can be determined that the target revolution direction is clockwise.
[0048] After the target revolution direction is determined, the second identification part of the revolution track mark corresponding to the track of the game component rotating along the first target revolution direction to the current position of the component mark can be determined. The second identification part of the revolution track mark is displayed in a preset second display format. At this time, the identification part of the revolution track mark except the second identification part is displayed in a preset initial display format; the second display format is different from the initial display format. Figure 3 As shown, during the player's sliding process, the identification portion corresponding to the trajectory of the game component rotating along the first target revolution direction to the current position of the component identification is displayed in gray and bold.
[0049] The player can slide on the revolution orbit logo for more than one circle through the sliding operation. At this time, the logo part of the revolution orbit logo except the second logo part can be displayed in other display formats to remind the player that the revolution angle at this time is greater than 360°. Specifically, in response to the sliding track corresponding to the first sliding operation being greater than one circle, the logo part of the revolution orbit logo except the second logo part is displayed in a preset third display format; the third display format is different from the first display format, the second display format and the initial display format. For example, the color corresponding to the third display format may be different from the colors corresponding to the first display format and the second display format. Figure 4 As shown, the identification portion except the second identification portion is displayed in gray.
[0050] When the designated operation is a sliding operation starting from the game component, the central angle corresponding to the sliding track of the sliding operation can be directly determined as the revolution angle of the game component.
[0051] When the specified operation is a sliding operation starting from the component identifier, the revolution angle of the game component needs to be determined based on the initial position of the game component, the specified position, and the center angle corresponding to the sliding track. That is, the revolution angle of the game component needs to be determined based on the initial revolution angle and the center angle corresponding to the sliding track. At this time, it is also necessary to consider whether the revolution direction of the initial revolution angle is the same as the revolution direction corresponding to the sliding track. If they are the same, the two are added. If they are opposite, the two need to be subtracted to obtain the revolution angle of the game component. The positive and negative numbers can be used to indicate whether the revolution direction is counterclockwise or clockwise.
[0052] The disclosed embodiment also provides another method for controlling the revolution of a game component. Figure 1 This method allows players to edit the angle of revolution directly and intuitively on the UGC editor.
[0053] This method is implemented in the following way:
[0054] 1. Display the object's orbital mark (also called "revolution steering wheel", or simply "turntable"), the revolution point, and the afterimage of the end point of the movement (equivalent to the above-mentioned "component mark"). Drag the end point afterimage to perform the rotation operation. The turntable is displayed in green when the drag operation is not in progress, and in yellow during the dragging process.
[0055] 2. During the dragging process, the entity model of the object's end point is displayed in real time, and the starting point of the movement is displayed as a virtual shadow. The current rotation angle is displayed at the top, and the revolution point is hidden.
[0056] 3. After rotating more than 360 degrees, you can continue to add angles.
[0057] 4. The current rotation direction and range are displayed on the revolution steering wheel, for example, a green line segment when not dragged and a yellow line segment when dragged. When it exceeds 360 degrees, the bottom plate changes and the angle range exceeding 360 multiples is displayed at the same time. For example, when it is 1090 degrees, a 10-degree angle range is displayed.
[0058] This method can be applied to the editing process of the revolution motion of game components in all UGC editors.
[0059] For the above method embodiments, see Figure 5 The revolution control device of a game component shown in the figure provides a graphical user interface through a terminal device, and displays a game scene to be edited provided by running a game program in the graphical user interface; the game scene to be edited includes the game component; the device includes:
[0060] A revolution track mark display module 502, used to display the revolution track mark corresponding to the game component in the game scene to be edited;
[0061] The revolution angle determination module 504 is used to respond to the designated operation on the revolution track mark, control the display of the component mark corresponding to the game component on the revolution track mark, and determine the revolution angle of the game component based on the operation parameters of the designated operation;
[0062] The revolution motion control module 506 is used to control the game component to perform revolution motion according to the revolution angle in the game scene in response to the revolution trigger event for the game component.
[0063] The above-mentioned method, device and electronic device for controlling the revolution of a game component display the revolution track mark corresponding to the game component in the game scene to be edited; in response to the specified operation acting on the revolution track mark, control the display of the component mark corresponding to the game component on the revolution track mark, and determine the revolution angle of the game component based on the operation parameters of the specified operation; in response to the revolution trigger event for the game component, control the game component to perform revolution movement according to the revolution angle in the game scene. In this method, the player can set the revolution angle of the game component on the revolution track mark by the specified operation acting on the revolution track mark, and understand the current revolution angle of the game component through the display position of the component mark, which simplifies the setting method of the revolution angle, facilitates the player to understand the set revolution angle, and improves the player's gaming experience.
[0064] The above-mentioned revolution track mark display module is also used to: display the revolution track mark corresponding to the game component in the game scene to be edited, and display the component mark corresponding to the game component at the specified position of the revolution track mark.
[0065] The above-mentioned device also includes: a first format display module, which is used to display the first identification part in the revolution orbit identification in a preset first display format; wherein the first identification part corresponds to the trajectory passed by the game component along the preset revolution direction to the current position of the component identification; the identification part of the revolution orbit identification except the first identification part is displayed in a preset initial display format; the first display format is different from the initial display format.
[0066] The above-mentioned revolution track mark display module is also used for: responding to a first sliding operation starting from the component mark and sliding along the revolution track mark, controlling the component mark to follow the contact point of the first sliding operation to move along the revolution track mark.
[0067] The above-mentioned device also includes: a first target revolution direction determination module, which is used to determine the first target revolution direction based on the sliding parameters of the first sliding operation, the initial position of the component identifier and the preset revolution direction when the control component identifier rotates along the revolution orbit identifier; a second format display module, which is used to display the second identification part in the revolution orbit identifier in a preset second display format; wherein the second identification part corresponds to the trajectory passed by the game component when it rotates along the first target revolution direction to the current position of the component identifier; the identification part of the revolution orbit identifier except the second identification part is displayed in a preset initial display format; the second display format is different from the initial display format.
[0068] The above-mentioned device also includes: a third format display module, which is used to display the identification part of the revolution orbit identification except the second identification part in a preset third display format in response to the sliding track corresponding to the first sliding operation being greater than one circle; the third display format is different from the initial display format and the second display format.
[0069] The above-mentioned revolution track mark display module is also used to: respond to a second sliding operation starting from the game component and along the revolution track mark, generate a component mark corresponding to the game component, and control the component mark to rotate along the revolution track mark following the contact point of the second sliding operation.
[0070] The above-mentioned designated operation includes a sliding operation starting from the game component; the operation parameter includes a sliding track of the sliding operation; the revolution angle determination module is also used to: determine the central angle corresponding to the sliding track as the revolution angle of the game component.
[0071] The above-mentioned designated operation includes a sliding operation starting from the component identifier; the operation parameters include a sliding trajectory corresponding to the sliding operation; the revolution angle determination module is also used to: determine the revolution angle of the game component based on the initial position, designated position and central angle corresponding to the sliding trajectory of the game component.
[0072] The above device also includes: a revolution angle display module, which is used to display the revolution angle on the graphical user interface.
[0073] This embodiment also provides an electronic device, including a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement the above-mentioned revolution control method of the game component, for example:
[0074] Display the revolution orbit identifier corresponding to the game component in the game scene to be edited; in response to the specified operation acting on the revolution orbit identifier, control the component identifier corresponding to the game component to be displayed on the revolution orbit identifier, and determine the revolution angle of the game component based on the operation parameters of the specified operation; in response to the revolution trigger event for the game component, control the game component to perform revolution movement according to the revolution angle in the game scene.
[0075] In the above method, the player can set the revolution angle of the game component at the revolution orbit identifier by acting on the specified operation control of the revolution orbit identifier, and understand the current revolution angle of the game component through the display position of the component identifier, which simplifies the setting method of the revolution angle, facilitates the player to understand the set revolution angle, and improves the player's gaming experience.
[0076] Optionally, the above step of displaying the revolution orbit identifier corresponding to the game component in the game scene to be edited includes: displaying the revolution orbit identifier corresponding to the game component in the game scene to be edited, and displaying the component identifier corresponding to the game component at a specified position of the revolution orbit identifier.
[0077] Optionally, the above method also includes: displaying the first identification part in the revolution orbit identification in a preset first display format; wherein the first identification part corresponds to the trajectory passed by the game component when rotating along the preset revolution direction to the current position of the component identification; the identification part of the revolution orbit identification except the first identification part is displayed in a preset initial display format; the first display format is different from the initial display format.
[0078] Optionally, the above-mentioned response acts on a specified operation of the revolution orbit identifier, and the step of controlling the component identifier corresponding to the game component to be displayed on the revolution orbit identifier includes: responding to a first sliding operation starting from the component identifier and sliding along the revolution orbit identifier, and controlling the component identifier to move along the revolution orbit identifier following the contact point of the first sliding operation.
[0079] Optionally, the above method also includes: when controlling the component identifier to rotate along the revolution orbit identifier, determining the first target revolution direction based on the sliding parameters of the first sliding operation, the initial position of the component identifier and the preset revolution direction; displaying the second identification part in the revolution orbit identifier in a preset second display format; wherein the second identification part corresponds to the trajectory passed by the game component when rotating along the first target revolution direction to the current position of the component identifier; the identification part of the revolution orbit identifier except the second identification part is displayed in a preset initial display format; the second display format is different from the initial display format.
[0080] Optionally, the above method also includes: in response to the sliding track corresponding to the first sliding operation being greater than one circle, displaying the identification part of the revolution orbit identification except the second identification part in a preset third display format; the third display format is different from the initial display format and the second display format.
[0081] Optionally, the above-mentioned response acts on a specified operation of the revolution orbit identifier, and the step of controlling the display of the component identifier corresponding to the game component on the revolution orbit identifier includes: responding to a second sliding operation along the revolution orbit identifier with the game component as the starting point, generating a component identifier corresponding to the game component, and controlling the component identifier to rotate along the revolution orbit identifier following the contact point of the second sliding operation.
[0082] Optionally, the above-mentioned specified operation includes a sliding operation starting from the game component; the operation parameters include a sliding trajectory of the sliding operation; based on the operation parameters of the specified operation, the step of determining the orbital angle of the game component includes: determining the central angle corresponding to the sliding trajectory as the orbital angle of the game component.
[0083] Optionally, the above-mentioned specified operation includes a sliding operation starting from the component identifier; the operation parameters include a sliding trajectory corresponding to the sliding operation; based on the operation parameters of the specified operation, the step of determining the orbital angle of the game component includes: determining the orbital angle of the game component based on the initial position, the specified position and the center angle corresponding to the sliding trajectory of the game component.
[0084] Optionally, the above method also includes: displaying the revolution angle on a graphical user interface.
[0085] See also Figure 6 As shown, the electronic device includes a processor 100 and a memory 101. The memory 101 stores machine executable instructions that can be executed by the processor 100. The processor 100 executes the machine executable instructions to implement the above-mentioned revolution control method of the game component.
[0086] Further, Figure 6 The electronic device shown further includes a bus 102 and a communication interface 103 , and the processor 100 , the communication interface 103 and the memory 101 are connected via the bus 102 .
[0087] The memory 101 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage. 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 may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used. The bus 102 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0088] The processor 100 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 100. The above processor 100 can be a general-purpose 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 gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present disclosure can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present disclosure 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 may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. 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 above embodiment in combination with its hardware.
[0089] This 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 prompt the processor to implement the above-mentioned revolution control method of the game component.
[0090] The embodiments of the present disclosure provide a method, device and electronic device for controlling the revolution of a game component, including a computer-readable storage medium storing program code, wherein the program code includes instructions that can be used to execute the methods described in the above method embodiments, for example:
[0091] Display the revolution orbit identifier corresponding to the game component in the game scene to be edited; in response to the specified operation acting on the revolution orbit identifier, control the component identifier corresponding to the game component to be displayed on the revolution orbit identifier, and determine the revolution angle of the game component based on the operation parameters of the specified operation; in response to the revolution trigger event for the game component, control the game component to perform revolution movement according to the revolution angle in the game scene.
[0092] In the above method, the player can set the revolution angle of the game component at the revolution orbit identifier by acting on the specified operation control of the revolution orbit identifier, and understand the current revolution angle of the game component through the display position of the component identifier, which simplifies the setting method of the revolution angle, facilitates the player to understand the set revolution angle, and improves the player's gaming experience.
[0093] Optionally, the above step of displaying the revolution orbit identifier corresponding to the game component in the game scene to be edited includes: displaying the revolution orbit identifier corresponding to the game component in the game scene to be edited, and displaying the component identifier corresponding to the game component at a specified position of the revolution orbit identifier.
[0094] Optionally, the above method also includes: displaying the first identification part in the revolution orbit identification in a preset first display format; wherein the first identification part corresponds to the trajectory passed by the game component when rotating along the preset revolution direction to the current position of the component identification; the identification part of the revolution orbit identification except the first identification part is displayed in a preset initial display format; the first display format is different from the initial display format.
[0095] Optionally, the above-mentioned response acts on a specified operation of the revolution orbit identifier, and the step of controlling the component identifier corresponding to the game component to be displayed on the revolution orbit identifier includes: responding to a first sliding operation starting from the component identifier and sliding along the revolution orbit identifier, and controlling the component identifier to move along the revolution orbit identifier following the contact point of the first sliding operation.
[0096] Optionally, the above method also includes: when controlling the component identifier to rotate along the revolution orbit identifier, determining the first target revolution direction based on the sliding parameters of the first sliding operation, the initial position of the component identifier and the preset revolution direction; displaying the second identification part in the revolution orbit identifier in a preset second display format; wherein the second identification part corresponds to the trajectory passed by the game component when rotating along the first target revolution direction to the current position of the component identifier; the identification part of the revolution orbit identifier except the second identification part is displayed in a preset initial display format; the second display format is different from the initial display format.
[0097] Optionally, the above method also includes: in response to the sliding track corresponding to the first sliding operation being greater than one circle, displaying the identification part of the revolution orbit identification except the second identification part in a preset third display format; the third display format is different from the initial display format and the second display format.
[0098] Optionally, the above-mentioned response acts on a specified operation of the revolution orbit identifier, and the step of controlling the display of the component identifier corresponding to the game component on the revolution orbit identifier includes: responding to a second sliding operation along the revolution orbit identifier with the game component as the starting point, generating a component identifier corresponding to the game component, and controlling the component identifier to rotate along the revolution orbit identifier following the contact point of the second sliding operation.
[0099] Optionally, the above-mentioned specified operation includes a sliding operation starting from the game component; the operation parameters include a sliding trajectory of the sliding operation; based on the operation parameters of the specified operation, the step of determining the orbital angle of the game component includes: determining the central angle corresponding to the sliding trajectory as the orbital angle of the game component.
[0100] Optionally, the above-mentioned specified operation includes a sliding operation starting from the component identifier; the operation parameters include a sliding trajectory corresponding to the sliding operation; based on the operation parameters of the specified operation, the step of determining the orbital angle of the game component includes: determining the orbital angle of the game component based on the initial position, the specified position and the center angle corresponding to the sliding trajectory of the game component.
[0101] Optionally, the above method also includes: displaying the revolution angle on a graphical user interface.
[0102] 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 aforementioned method embodiment, and will not be repeated here.
[0103] In addition, in the description of the embodiments of the present disclosure, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For those skilled in the art, the specific meanings of the above terms in the present disclosure can be understood according to specific circumstances.
[0104] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program code.
[0105] In the description of the present disclosure, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present disclosure and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present disclosure. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.
[0106] Finally, it should be noted that the above embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. The protection scope of the present disclosure is not limited thereto. Although the present disclosure is described in detail with reference to the above embodiments, those skilled in the art should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above embodiments within the technical scope disclosed in the present disclosure, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.
Claims
1. A method for controlling the revolution of a game component, characterized in that: Providing a graphical user interface through a terminal device, displaying a game scene to be edited provided by running a game program in the graphical user interface; The game scene to be edited includes game components; the method includes: Displaying the revolution track mark corresponding to the game component in the game scene to be edited; In response to a designated operation on the revolution track mark, controlling the display of a component mark corresponding to the game component on the revolution track mark, and determining the revolution angle of the game component based on an operation parameter of the designated operation; In response to a revolution trigger event for the game component, the game component is controlled to perform a revolution motion in the game scene according to the revolution angle.
2. The method according to claim 1, characterized in that The step of displaying the revolution track mark corresponding to the game component in the game scene to be edited includes: The revolution track mark corresponding to the game component is displayed in the game scene to be edited, and the component mark corresponding to the game component is displayed at the designated position of the revolution track mark.
3. The method according to claim 2, characterized in that The method further comprises: Displaying a first identification portion of the revolution orbit identification in a preset first display format; Among them, the first identification part corresponds to the trajectory of the game component rotating along the preset revolution direction to the current position of the component identification; the identification part of the revolution orbit identification except the first identification part is displayed in a preset initial display format; the first display format is different from the initial display format.
4. The method according to claim 2, characterized in that In response to a specified operation on the revolution track mark, the step of controlling the display of the component mark corresponding to the game component on the revolution track mark comprises: In response to a first sliding operation starting from the component mark and sliding along the revolution track mark, the component mark is controlled to move along the revolution track mark following the contact point of the first sliding operation.
5. The method according to claim 4, characterized in that The method further comprises: When controlling the component identifier to rotate along the revolution track identifier, determining a first target revolution direction based on the sliding parameter of the first sliding operation, the initial position of the component identifier and the preset revolution direction; Displaying a second identification portion of the revolution orbit identification in a preset second display format; Among them, the second identification part corresponds to the trajectory of the game component rotating along the first target revolution direction to the current position of the component identification; the identification part of the revolution orbit identification except the second identification part is displayed in a preset initial display format; the second display format is different from the initial display format.
6. The method according to claim 5, characterized in that The method further comprises: In response to the sliding track of the first sliding operation being greater than one circle, the identification portion of the revolution orbit identification except the second identification portion is displayed in a preset third display format; the third display format is different from the initial display format and the second display format.
7. The method according to claim 1, characterized in that In response to a specified operation on the revolution track mark, the step of controlling the display of the component mark corresponding to the game component on the revolution track mark comprises: In response to a second sliding operation starting from the game component and along the revolution track mark, a component mark corresponding to the game component is generated, and the component mark is controlled to rotate along the revolution track mark following the contact point of the second sliding operation.
8. The method according to claim 1, characterized in that: The specified operation includes a sliding operation starting from the game component; the operation parameter includes a sliding track of the sliding operation; The step of determining the revolution angle of the game component based on the operation parameters of the specified operation includes: The central angle corresponding to the sliding track is determined as the revolution angle of the game component.
9. The method according to claim 2, characterized in that: The specified operation includes a sliding operation starting from the component identifier; the operation parameter includes a sliding track corresponding to the sliding operation; The step of determining the revolution angle of the game component based on the operation parameters of the specified operation includes: The revolution angle of the game component is determined based on the initial position of the game component, the designated position and the central angle corresponding to the sliding track.
10. The method according to claim 1, characterized in that The method further comprises: The revolution angle is displayed on the graphical user interface.
11. A revolution control device for a game component, characterized in that: Providing a graphical user interface through a terminal device, displaying a game scene to be edited provided by running a game program in the graphical user interface; The game scene to be edited includes game components; The device comprises: A revolution track mark display module, used for displaying the revolution track mark corresponding to the game component in the game scene to be edited; A revolution angle determination module, for responding to a designated operation on the revolution track mark, controlling the display of a component mark corresponding to the game component on the revolution track mark, and determining the revolution angle of the game component based on an operation parameter of the designated operation; The revolution motion control module is used to control the game component to perform revolution motion according to the revolution angle in the game scene in response to the revolution trigger event for the game component.
12. An electronic device, characterized in that: It comprises a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement the revolution control method of the game component according to any one of claims 1-10.
13. A machine-readable storage medium, characterized in that: The machine-readable storage medium stores machine-executable instructions. When the machine-executable instructions are called and executed by the processor, the machine-executable instructions prompt the processor to implement the method for controlling the revolution of a game component according to any one of claims 1 to 10.