Virtual shooting prop configuration method and device, storage medium and electronic equipment
By displaying the interactive buttons of virtual shooting props outside the track lines in the game interface and adjusting their positions in response to rotation operations, the problems of virtual shooting prop model overflow and unclear buttons were solved, achieving a clear correspondence between interactive buttons and accessories, making it easier for players to configure them.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- TENCENT TECHNOLOGY (SHENZHEN) CO LTD
- Filing Date
- 2022-01-04
- Publication Date
- 2026-08-04
AI Technical Summary
In gaming applications, the models of virtual shooting props tend to overflow the display screen during the modification process, and the interactive buttons are not clearly displayed, making it difficult for players to find the corresponding parts.
The prop modification interface displays interactive buttons corresponding to virtual shooting props and accessories that can be modified. These buttons are displayed outside the preset shaped track lines and their positions are adjusted in response to rotation operations to maintain their association with the props and accessories.
This effectively prevents interactive buttons from appearing off-screen, ensuring clear correspondence between button and accessory positions and improving the intuitiveness and accuracy of players configuring virtual shooting items.
Smart Images

Figure CN114504817B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computers, and more specifically, to a method and apparatus for configuring virtual shooting props, a storage medium, and an electronic device. Background Technology
[0002] Currently, in game applications, configuring virtual items typically involves displaying the positions of partial components, which are then dragged and dropped to complete the configuration. Taking virtual shooting items as an example, these items are fixed on the game application's screen and their position doesn't adjust as the item's size and appearance change during the modification process. This causes the virtual shooting item model to overflow the screen, creating a poor visual experience, and players cannot see the appearance of the modified components during the modification process.
[0003] In addition, the interaction buttons for configuring virtual shooting props and the accessory models of virtual shooting props are displayed in different directions on the screen, which makes it difficult for players to find the corresponding interaction buttons by locating the accessories of the virtual shooting props.
[0004] There is currently no effective solution to the above problems. Summary of the Invention
[0005] This application provides a method and apparatus for configuring virtual shooting props, a storage medium, and an electronic device to at least solve the technical problem in the related art where the interactive buttons are not clearly displayed when configuring virtual shooting props.
[0006] According to one aspect of the embodiments of this application, a method for configuring a virtual shooting prop is provided, comprising: displaying the virtual shooting prop in a prop modification interface; displaying a first set of interactive buttons in the prop modification interface corresponding to a first set of accessories on the virtual shooting prop that can be modified, wherein each interactive button in the first set of interactive buttons is used to perform a modification operation on a corresponding accessory in the first set of accessories, the first set of interactive buttons is displayed at a first set of positions on a track line of a preset shape, the track line being located outside the virtual shooting prop; in response to a rotation operation on the virtual shooting prop, rotating the virtual shooting prop and the first set of accessories in the prop modification interface, and adjusting the display position of the first set of interactive buttons to a second set of positions on the track line corresponding to the rotation operation.
[0007] According to another aspect of the embodiments of this application, a configuration device for a virtual shooting prop is also provided, comprising: a first display module for displaying a virtual shooting prop in a prop modification interface; a second display module for displaying a first set of interactive buttons in the prop modification interface corresponding to a first set of accessories on the virtual shooting prop that can be modified, wherein each interactive button in the first set of interactive buttons is used to perform a modification operation on a corresponding accessory in the first set of accessories, and the first set of interactive buttons is displayed at a first set of positions on a track line of a preset shape, the track line being located outside the virtual shooting prop; and a processing module for rotating the virtual shooting prop and the first set of accessories in the prop modification interface in response to a rotation operation on the virtual shooting prop, and adjusting the display position of the first set of interactive buttons to a second set of positions on the track line corresponding to the rotation operation.
[0008] Optionally, the device is used to display a first set of interactive buttons corresponding to the first set of accessories in the prop modification interface in the following manner: the first set of interactive buttons are displayed at the first set of positions on the track line in the prop modification interface, wherein the first set of positions is the intersection of the first set of connecting lines and the track line, and the first set of connecting lines respectively pass through a first preset point on each accessory in the first set of accessories.
[0009] Optionally, the device is used to display the first set of interactive buttons on the first set of positions on the track line in the prop modification interface in the following manner: displaying the first set of interactive buttons on the first set of intersecting positions on the track line in the prop modification interface, wherein, when the first set of interactive buttons are displayed on the first set of intersecting positions without overlapping, the first set of positions are the first set of intersecting positions, and the first set of intersecting positions are the intersection positions of the line connecting the second preset point on the virtual shooting prop, passing through the first preset point on each of the first set of accessories, and the track line.
[0010] Optionally, the device is used to display the first group of interactive buttons at the first group of positions on the track in the prop modification interface in the following manner: when the first group of interactive buttons is displayed at the first group of intersecting positions, and the first interactive button displayed at the first intersecting position and the second interactive button displayed at the second intersecting position overlap, the display position of the first interactive button is adjusted from the first intersecting position to the third intersecting position on the track, wherein the first interactive button displayed at the third intersecting position does not overlap with any other interactive buttons in the first group of interactive buttons except for the first interactive button, and the first group of positions includes the third intersecting position but does not include the first intersecting position; or, when the first group of interactive buttons is displayed at the first group of intersecting positions, and the first interactive button displayed at the first intersecting position and the second interactive button displayed at the second intersecting position overlap, the display position of the second interactive button is adjusted from the second intersecting position to the fourth intersecting position on the track, wherein the second interactive button displayed at the fourth intersecting position... The interactive button does not overlap with any other interactive button in the first group of interactive buttons except for the second interactive button. The first group of positions includes the fourth intersection position but does not include the second intersection position. Alternatively, when the first group of interactive buttons is displayed at the first group of intersection positions, and the first interactive button displayed at the first intersection position and the second interactive button displayed at the second intersection position overlap, the display position of the first interactive button is adjusted from the first intersection position to the third intersection position on the track, and the display position of the second interactive button is adjusted from the second intersection position to the fourth intersection position on the track. The first interactive button displayed at the third intersection position does not overlap with any other interactive button in the first group of interactive buttons except for the first interactive button, and the second interactive button displayed at the fourth intersection position does not overlap with any other interactive button in the first group of interactive buttons except for the second interactive button. The first group of positions includes the third intersection position and the fourth intersection position but does not include the first intersection position and the second intersection position.
[0011] Optionally, the device is configured to adjust the display position of the first interactive button from the first intersection position to the third intersection position on the track line and adjust the display position of the second interactive button from the second intersection position to the fourth intersection position on the track line in opposite directions: adjusting the display position of the first interactive button from the first intersection position to the third intersection position on the track line and adjusting the display position of the second interactive button from the second intersection position to the fourth intersection position on the track line; or adjusting the display position of the first interactive button from the first intersection position to the third intersection position on the track line and adjusting the display position of the second interactive button from the second intersection position to the fourth intersection position on the track line in the same direction.
[0012] Optionally, the device is used to display the first set of interactive buttons on the first set of intersecting positions on the track line in the prop modification interface in the following manner: the first set of interactive buttons is displayed on the first set of intersecting positions on the track line in the prop modification interface, wherein the first set of intersecting positions is the intersection of the track line with the line connecting the center point of the virtual shooting prop and the center point of each of the first set of accessories.
[0013] Optionally, the device is used to adjust the display position of the first group of interactive buttons to a second group of positions on the track line corresponding to the target angle in the following manner: displaying the first group of interactive buttons on the second group of positions on the track line in the prop modification interface, wherein the second group of positions is the intersection of the second group of connecting lines and the track line when the first group of accessories is rotated to the target angle, and the second group of connecting lines respectively passes through the first preset point on each of the first group of accessories when rotated to the target angle.
[0014] Optionally, the device is used to display the first set of interactive buttons on the second set of positions on the track line in the prop modification interface in the following manner: displaying the first set of interactive buttons on the second set of intersecting positions on the track line in the prop modification interface, wherein, when the first set of interactive buttons are displayed on the second set of intersecting positions without overlapping, the second set of positions is the second set of intersecting positions, which are the intersection positions of the line connecting the first preset point on the virtual shooting prop and the first set of accessories, respectively, when the virtual shooting prop and the first set of accessories are rotated to the target angle, and the track line.
[0015] Optionally, the device is further configured to: display in the prop modification interface a line connecting the first preset point on each of the first set of accessories to the corresponding intersection position on the track.
[0016] Optionally, the device is used to display a first set of interactive buttons corresponding to the first set of accessories in the prop modification interface in the following manner: the first set of interactive buttons are displayed in the prop modification interface at the first set of positions on the elliptical track line, wherein each position in the first set of positions is the intersection of the line connecting the first preset point on the corresponding accessory and the track line, and the center point of the elliptical area enclosed by the track line is the center point of the virtual shooting prop.
[0017] Optionally, the device is configured to display a virtual shooting prop and a first set of accessories that can be modified on the virtual shooting prop in the prop modification interface in the following manner: the virtual shooting prop and the first set of accessories are displayed in the prop modification interface, and the display areas of the virtual shooting prop and the first set of accessories are both located in the prop modification interface; the device is further configured to: in response to a trigger operation performed on a first interactive button in the first set of interactive buttons, perform a first modification operation on the first accessory corresponding to the first interactive button; if the display area of the virtual shooting prop and the first set of accessories exceeds the prop modification interface after the first modification operation is performed, reduce the virtual shooting prop and the first set of accessories by a preset ratio, so that the display areas of the reduced virtual shooting prop and the first set of accessories are both located in the prop modification interface.
[0018] Optionally, the device is further configured to: before rotating the virtual shooting prop and the first set of accessories to the target angle in the prop modification interface, display a second set of interactive buttons corresponding to the second set of accessories in the prop modification interface, wherein each interactive button in the second set of interactive buttons is used to perform a modification operation on the corresponding accessory in the second set of accessories, the second set of interactive buttons is displayed at a third position on the track line, and the second set of accessories are accessories that are not yet equipped on the virtual shooting prop and are allowed to be equipped; in response to the rotation operation of the virtual shooting prop, adjust the display position of the second set of interactive buttons to a fourth position on the track line corresponding to the target angle.
[0019] Optionally, the device is used to display a second set of interactive buttons corresponding to the second set of accessories in the prop modification interface in the following manner: the second set of interactive buttons is displayed in the prop modification interface at the third set of positions on the track line, wherein the third set of positions is the intersection of the third set of connecting lines and the track line, and the third set of connecting lines respectively passes through a first preset point in the area to be assembled on the virtual shooting prop for each accessory in the second set of accessories.
[0020] According to another aspect of the embodiments of this application, a computer-readable storage medium is also provided, wherein a computer program is stored in the computer program, and the computer program is configured to execute the above-described configuration method for virtual shooting props when running.
[0021] According to another aspect of the embodiments of this application, a computer program product or computer program is provided, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the configuration method for the virtual shooting props described above.
[0022] According to another aspect of the embodiments of this application, an electronic device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the above-described configuration method for virtual shooting props through the computer program.
[0023] In this embodiment, a virtual shooting prop is displayed in the prop modification interface. A first set of interactive buttons, corresponding to a first set of modifiable accessories on the virtual shooting prop, is displayed in the prop modification interface. Each interactive button in the first set is used to perform a modification operation on the corresponding accessory in the first set of accessories. The first set of interactive buttons is displayed at a first position on a track line of a preset shape, the track line being located outside the virtual shooting prop. In response to a rotation operation on the virtual shooting prop, the virtual shooting prop and the first set of accessories are rotated in the prop modification interface, and the display position of the first set of interactive buttons is adjusted to a second position on the track line corresponding to the rotation operation. By displaying the first set of interactive buttons on a preset-shaped track, when the virtual shooting prop and the first set of accessories are rotated to the target angle in the prop modification interface, the first set of interactive buttons can be simultaneously adjusted to the position on the track corresponding to the target angle. This achieves the purpose of preventing the first set of interactive buttons from being displayed outside the display screen and associating the first set of interactive buttons with the position of the first set of accessories. Thus, it achieves the technical effect of clearly displaying interactive buttons when configuring virtual shooting props, making it easier for players to intuitively configure virtual shooting props through interactive buttons, thereby solving the technical problem of unclear display of interactive buttons when configuring virtual shooting props in related technologies. Attached Figure Description
[0024] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:
[0025] Figure 1 This is a schematic diagram of an application environment for an optional virtual shooting prop configuration method according to an embodiment of this application;
[0026] Figure 2 This is a flowchart illustrating an optional method for configuring virtual shooting props according to an embodiment of this application;
[0027] Figure 3 This is a schematic diagram of an optional virtual shooting prop configuration method according to an embodiment of this application;
[0028] Figure 4 This is a schematic diagram of another optional method for configuring virtual shooting props according to an embodiment of this application;
[0029] Figure 5 This is a schematic diagram of another optional method for configuring virtual shooting props according to an embodiment of this application;
[0030] Figure 6 This is a schematic diagram of another optional method for configuring virtual shooting props according to an embodiment of this application;
[0031] Figure 7 This is a schematic diagram of another optional method for configuring virtual shooting props according to an embodiment of this application;
[0032] Figure 8 This is a schematic diagram of another optional method for configuring virtual shooting props according to an embodiment of this application;
[0033] Figure 9 This is a schematic diagram of another optional method for configuring virtual shooting props according to an embodiment of this application;
[0034] Figure 10 This is a schematic diagram of another optional method for configuring virtual shooting props according to an embodiment of this application;
[0035] Figure 11 This is a schematic diagram of another optional method for configuring virtual shooting props according to an embodiment of this application;
[0036] Figure 12 This is a schematic diagram of another optional method for configuring virtual shooting props according to an embodiment of this application;
[0037] Figure 13 This is a schematic diagram of another optional method for configuring virtual shooting props according to an embodiment of this application;
[0038] Figure 14 This is a schematic diagram of another optional method for configuring virtual shooting props according to an embodiment of this application;
[0039] Figure 15 This is a schematic diagram of the configuration device for an optional virtual shooting prop according to an embodiment of this application;
[0040] Figure 16 This is a structural schematic diagram of an optional virtual shooting prop configuration product according to an embodiment of this application;
[0041] Figure 17 This is a schematic diagram of the structure of an optional electronic device according to an embodiment of this application. Detailed Implementation
[0042] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0043] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0044] First, some nouns or terms that appear in the description of the embodiments of this application shall be interpreted as follows:
[0045] Weapon Modification System: In shooting games, this system allows for the disassembly, installation, and replacement of various weapon components, such as the handguard, barrel, rear grip, stock, scope, and muzzle device.
[0046] The present application will be described below with reference to embodiments:
[0047] According to one aspect of the embodiments of this application, a method for configuring virtual shooting props is provided. Optionally, in this embodiment, the above-described method for configuring virtual shooting props can be applied to, for example... Figure 1 The hardware environment shown consists of server 101 and terminal device 103. For example... Figure 1As shown, server 101 is connected to terminal 103 via a network and can be used to provide services for terminal devices or applications installed on terminal devices. Applications can be video applications, instant messaging applications, browser applications, educational applications, game applications, etc. Database 105 can be set up on the server or independently of the server to provide data storage services for server 101, such as a game data storage server. The network can include, but is not limited to, wired networks and wireless networks. The wired network includes local area networks (LANs), metropolitan area networks (MANs), and wide area networks (WANs). The wireless network includes Bluetooth, Wi-Fi, and other networks that enable wireless communication. Terminal device 103 can be a terminal configured with an application, including but not limited to at least one of the following: mobile phones (such as Android phones, iOS phones, etc.), laptops, tablets, PDAs, MIDs (Mobile Internet Devices), PADs, desktop computers, smart TVs, and other computer devices. The server can be a single server, a server cluster consisting of multiple servers, or a cloud server. The application 107 using the above-described virtual shooting prop configuration method is displayed through terminal device 103.
[0048] Combination Figure 1 As shown, the configuration method for the aforementioned virtual shooting props can be implemented on terminal device 103 through the following steps:
[0049] S1, the virtual shooting prop is displayed in the prop modification interface of the terminal device 103;
[0050] S2, the prop modification interface of the terminal device 103 displays the first set of interactive buttons corresponding to the first set of accessories that can be modified on the virtual shooting prop. Each interactive button in the first set of interactive buttons is used to perform a modification operation on the corresponding accessory in the first set of accessories. The first set of interactive buttons is displayed at the first position on the track line of the preset shape. The track line is located outside the virtual shooting prop.
[0051] S3, in response to the rotation operation of the virtual shooting prop on the terminal device 103, rotates the virtual shooting prop and the first set of accessories in the prop modification interface, and adjusts the display position of the first set of interactive buttons to the second set of positions on the track line corresponding to the rotation operation.
[0052] Optionally, in this embodiment, the configuration method for the virtual shooting props described above can also be implemented via a server, for example, Figure 1 It can be implemented in server 101 shown; or it can be implemented jointly by the user terminal and the server.
[0053] The above is merely an example, and this embodiment does not impose any specific limitations.
[0054] Alternatively, as an alternative implementation method, such as Figure 2 As shown, the configuration method for the aforementioned virtual shooting props includes:
[0055] S202, displays virtual shooting props in the prop modification interface;
[0056] S204, The prop modification interface displays the first set of interactive buttons corresponding to the first set of accessories that can be modified on the virtual shooting prop. Each interactive button in the first set of interactive buttons is used to perform modification operations on the corresponding accessory in the first set of accessories. The first set of interactive buttons is displayed at the first position on the track line of the preset shape. The track line is located outside the virtual shooting prop.
[0057] S206, in response to the rotation operation of the virtual shooting prop, rotates the virtual shooting prop and the first set of accessories in the prop modification interface, and adjusts the display position of the first set of interactive buttons to the second set position on the track line corresponding to the rotation operation.
[0058] Optionally, in this embodiment, the above-mentioned virtual prop control method can be applied to shooting game applications installed on computer devices such as mobile phones (e.g., Android phones, iOS phones, etc.), laptops, tablets, handheld computers, MIDs (Mobile Internet Devices), PADs, desktop computers, and smart TVs. The target game applications include first-person shooting game applications, third-person shooting game applications, and shooting game applications that can switch between first-person and third-person perspectives.
[0059] It should be noted that: shooting game applications include first-person shooter applications, third-person shooter applications, and all games that use firearms for ranged attacks, including but not limited to these.
[0060] First-person shooter (FPS) games are a branch of action games (ACT). As the name suggests, FPS games are shooting games where the player shoots from their own perspective.
[0061] Third-person shooting game (TPS) applications are a type of shooting application. The difference between them and first-person shooting applications is that the virtual control objects controlled by the operator are visible in the application's display interface.
[0062] in, Figure 3This is a schematic diagram of an optional virtual shooting prop configuration method according to an embodiment of this application, such as... Figure 3 As shown, the application display interface can be divided into a first-person view display interface 301 and a third-person view display interface 303, as well as a display interface that allows switching between first-person and third-person views using view switching buttons, and can utilize, for example... Figure 3 The environment shown displays the virtual shooting tool currently being used by the virtual object in the target game application.
[0063] Optionally, in this embodiment, the types of virtual game applications may include, but are not limited to, at least one of the following: two-dimensional (2D) game applications, three-dimensional (3D) game applications, virtual reality (VR) game applications, augmented reality (AR) game applications, and mixed reality (MR) game applications.
[0064] Optionally, in this embodiment, the aforementioned prop modification interface may include, but is not limited to, the game interface used to configure virtual shooting props in a game application, presented through the virtual shooting prop modification system of the aforementioned virtual game application, such as a firearm modification system.
[0065] For example, Figure 4 This is a schematic diagram of another optional method for configuring virtual shooting props according to an embodiment of this application, such as... Figure 4 As shown, it may include, but is not limited to, the prop modification interface 402, wherein the prop modification interface 402 includes an interaction button 404 and a first set of accessories 406, and each accessory in the first set of accessories 406 corresponds to an interaction button 404.
[0066] The above is merely an example, and this embodiment does not impose any specific limitations.
[0067] Optionally, in this embodiment, the virtual shooting props may include, but are not limited to, virtual firearms, virtual bows and arrows, virtual rockets, etc.
[0068] Optionally, in this embodiment, the first set of accessories that can be modified on the virtual shooting prop may include, but is not limited to, a set of accessories on the virtual shooting prop that can be modified by the player through interactive operation. Specifically, the first set of accessories may include, but is not limited to, the stock, barrel, scope, goggles, muzzle, and trigger when the virtual shooting prop is a virtual firearm; the base, barrel, and support when the virtual shooting prop is a virtual rocket; and the bow and bowstring when the virtual shooting prop is a virtual bow and arrow.
[0069] It should be noted that the first set of accessories mentioned above are accessories that can be modified in virtual shooting applications. That is, players can modify the first set of accessories to configure virtual shooting props.
[0070] Optionally, in this embodiment, the first set of interactive buttons are interactive buttons corresponding to the first set of accessories. In other words, each accessory in the first set of accessories corresponds to one interactive button in the first set of interactive buttons. Each interactive button in the first set of interactive buttons is used to perform a modification operation on the corresponding accessory. The modification operation may include, but is not limited to, adding, deleting, replacing, adjusting size, changing appearance, etc.
[0071] It should be noted that you can perform interactive operations on the first set of interactive buttons mentioned above to select the corresponding accessory and modify it.
[0072] For example, Figure 5 This is a schematic diagram of another optional virtual shooting prop configuration method according to an embodiment of this application, such as... Figure 5 As shown, the prop modification interface 502 displays a virtual shooting prop 504 and a corresponding interaction button 506. By performing an interaction operation on the interaction button 506, a list of accessories to be selected is displayed. By performing an interaction operation on the accessory 508 in the accessory list, the accessory 508 can be configured on the virtual shooting prop 504.
[0073] The above is merely an example, and this embodiment does not impose any specific limitations.
[0074] Optionally, in this embodiment, the first set of interactive buttons being displayed at the first set of positions on the track line of the preset shape may include, but is not limited to, displaying each interactive button in the first set of interactive buttons at the first set of positions on the track line of the preset shape by the system. The track line being located outside the virtual shooting prop may include, but is not limited to, being preset by the system, or being flexibly adjusted by the player in the settings interface. Specifically, it may include, but is not limited to, circles, rectangles, and ellipses, and may be pre-configured according to the shape and size of the virtual shooting prop. Taking virtual firearms as an example, the preset shape is generally elliptical.
[0075] Optionally, in this embodiment, the above-mentioned rotation operation for virtual shooting props may include, but is not limited to, in the prop modification interface of the virtual game application, controlling the rotation operation of the displayed virtual shooting props through interactive operation. Specifically, it may include, but is not limited to, dragging the virtual shooting props to rotate, or clicking or double-clicking to select the virtual shooting props and then moving the cursor to rotate the virtual shooting props. The above-mentioned rotation operation may include, but is not limited to, rotation in three-dimensional space, while the first set of interactive buttons is displayed on a two-dimensional plane.
[0076] Optionally, in this embodiment, rotating the virtual shooting prop and the first set of accessories to the target angle in the prop modification interface may include, but is not limited to, associating the first set of accessories with the virtual shooting prop. When the virtual shooting prop is rotated, the first set of accessories configured on the virtual shooting prop will rotate accordingly.
[0077] Optionally, in this embodiment, adjusting the display position of the first set of interactive buttons to the second set of positions on the track line corresponding to the target angle may include, but is not limited to, associating the first set of interactive buttons with the first set of accessories. When the virtual shooting prop and the first set of accessories are rotated to the target angle, the first set of interactive buttons are controlled to move to the second set of positions on the track line.
[0078] It should be noted that when the virtual shooting prop and the first set of accessories are rotated to the target angle in the prop modification interface, the aforementioned track line will not rotate. For example, no matter how the user rotates the virtual shooting prop, the position of the aforementioned track line in the prop modification interface remains unchanged. At this time, the display area of the first set of interactive buttons corresponding to the first set of accessories is also relatively fixed, which conforms to the user's visual habits and makes it easy for the user to quickly find the interactive button corresponding to the accessory that needs to be modified. This avoids the situation where the first set of interactive buttons after rotation cannot match the first set of accessories on the virtual shooting prop.
[0079] For example, Figure 6 This is a schematic diagram of another optional virtual shooting prop configuration method according to an embodiment of this application, such as... Figure 6 As shown, the first set of interactive buttons is displayed at position 604 in the first group of positions in the prop modification interface 602. When a rotation operation is performed on the virtual shooting prop, the target angle is rotated in the prop modification interface to obtain... Figure 6 The virtual shooting prop 608 shown and the first set of interactive buttons located in the second set of positions 606 are both located on a track line of a preset shape.
[0080] In this embodiment, a virtual shooting prop and a first set of modifiable accessories on the virtual shooting prop are displayed in the prop modification interface. A first set of interactive buttons corresponding to the first set of accessories are also displayed in the prop modification interface. Each interactive button in the first set is used to perform a modification operation on the corresponding accessory in the first set of accessories. The first set of interactive buttons is displayed at a first position on a preset-shaped track line located outside the virtual shooting prop. In response to a rotation operation on the virtual shooting prop, the virtual shooting prop and the first set of accessories are rotated to a target angle in the prop modification interface, and the display position of the first set of interactive buttons is adjusted to the first position on the track line corresponding to the target angle. The two-position method displays the first set of interactive buttons on a preset-shaped track. When the virtual shooting prop and the first set of accessories are rotated to the target angle in the prop modification interface, the first set of interactive buttons can be simultaneously adjusted to the position on the track line corresponding to the target angle. This avoids the first set of interactive buttons being displayed outside the display screen and associates the first set of interactive buttons with the position of the first set of accessories. This achieves the technical effect of clearly displaying the interactive buttons when configuring virtual shooting props, making it easier for players to intuitively configure virtual shooting props through the interactive buttons. This solves the technical problem of unclear display of interactive buttons when configuring virtual shooting props in related technologies.
[0081] Furthermore, in existing technologies, when there are many modifiable accessories for virtual shooting props, the display positions of the first set of interactive buttons are relatively cluttered. For example, accessories may be located on the left side of the virtual shooting prop on the prop modification interface, while the corresponding interactive buttons are displayed on the right side of the virtual shooting prop on the prop modification interface. This makes it difficult for users to find the accessories and is prone to errors. However, in this embodiment, the first set of interactive buttons can be displayed on a track line of a preset shape, and the first set of interactive buttons is associated with the location of the first set of accessories. This solves the technical problem in related technologies where the interactive buttons are displayed cluttered and difficult for players to find when configuring virtual shooting props.
[0082] As an optional solution, displaying a first set of interactive buttons corresponding to the first set of accessories in the prop modification interface includes:
[0083] In the prop modification interface, the first set of interactive buttons are displayed at the first set of positions on the track line, wherein the first set of positions is the intersection of the first set of connecting lines and the track line, and the first set of connecting lines respectively pass through the first preset point on each of the first set of accessories.
[0084] Optionally, in this embodiment, the first set of positions is the intersection of the first set of connecting lines and the track line. Each connecting line in the first set passes through a first preset point on each component. The first preset point may include, but is not limited to, the connection point between components or the center point of the component.
[0085] As an optional solution, displaying the first set of interactive buttons at the first set of positions on the track line in the prop modification interface includes:
[0086] In the prop modification interface, the first group of interactive buttons are displayed at the first group of intersecting positions on the track line. When the first group of interactive buttons are displayed at the first group of intersecting positions, they do not overlap. The first group of positions is the first group of intersecting positions. The first group of intersecting positions is the intersection of the line connecting the second preset point on the virtual shooting prop, passing through the first preset point on each of the first set of accessories, and the track line.
[0087] Optionally, in this embodiment, the above-mentioned display of the first group of interactive buttons at the first group of intersecting positions on the track line can be understood as follows: the center point of each interactive button in the first group of interactive buttons coincides with the intersecting position, or is offset by a predetermined distance value. The direction of the offset may include, but is not limited to, offsetting along the direction from the center point of the track line to the interactive button, or offsetting along the direction from the interactive button to the center point of the track line.
[0088] Optionally, in this embodiment, the non-overlapping of the first group of interactive buttons when displayed at the first group of intersecting positions may include, but is not limited to, the non-overlapping of each interactive button in the first group of interactive buttons. It is understood that each interactive button in the first group of interactive buttons is configured with a corresponding display area. The display areas of different interactive buttons may be the same or different. When the display areas are different, they can be preset according to the pre-configured accessory priority.
[0089] For example, when the virtual shooting prop is a virtual firearm, the barrel generally has a higher priority than the muzzle. Therefore, the display area of the interactive button corresponding to the barrel can be configured to be larger than the display area of the interactive button corresponding to the muzzle.
[0090] Optionally, in this embodiment, the second preset point may include, but is not limited to, the center point of the virtual shooting prop. When configuring the virtual shooting prop, the center point of the virtual shooting prop may be configured as the center point of the display screen to display the entirety of the virtual shooting prop more clearly and completely.
[0091] As an optional solution, displaying the first set of interactive buttons at the first set of positions on the track line in the prop modification interface includes:
[0092] When the first group of interactive buttons is displayed at the first intersecting position, and the first interactive button displayed at the first intersecting position and the second interactive button displayed at the second intersecting position overlap, the display position of the first interactive button is adjusted from the first intersecting position to the third intersecting position on the track line. The first interactive button displayed at the third intersecting position does not overlap with any other interactive buttons in the first group of interactive buttons except for the first interactive button itself. The first group of positions includes the third intersecting position but does not include the first intersecting position; or...
[0093] When the first group of interactive buttons is displayed at the first intersecting position, and the first interactive button displayed at the first intersecting position and the second interactive button displayed at the second intersecting position overlap, the display position of the second interactive button is adjusted from the second intersecting position to the fourth intersecting position on the track line. The second interactive button displayed at the fourth intersecting position does not overlap with any other interactive buttons in the first group of interactive buttons except for the second interactive button itself. The first group of positions includes the fourth intersecting position but does not include the second intersecting position; or
[0094] When the first set of interactive buttons is displayed at the first intersecting position, and the first interactive button displayed at the first intersecting position and the second interactive button displayed at the second intersecting position overlap, the display position of the first interactive button is adjusted from the first intersecting position to the third intersecting position on the track, and the display position of the second interactive button is adjusted from the second intersecting position to the fourth intersecting position on the track. The first interactive button displayed at the third intersecting position does not overlap with any other interactive button in the first set of interactive buttons except the first interactive button, and the second interactive button displayed at the fourth intersecting position does not overlap with any other interactive button in the first set of interactive buttons except the second interactive button. The first set of positions includes the third intersecting position and the fourth intersecting position, but does not include the first intersecting position and the second intersecting position.
[0095] Optionally, in this embodiment, when the first interactive button displayed at the first intersection position and the second interactive button displayed at the second intersection position overlap, adjusting the display position of the first interactive button from the first intersection position to the third intersection position on the track line may include, but is not limited to, adjusting the display position of the first interactive button from the first intersection position to the third intersection position on the track line according to a pre-configured adjustment priority. When the first interactive button and the second interactive button overlap, since the first interactive button has a lower priority, the display position of the first interactive button is adjusted from the first intersection position to the third intersection position on the track line.
[0096] For example, Figure 7 This is a schematic diagram of another optional virtual shooting prop configuration method according to an embodiment of this application, such as... Figure 7 As shown, the prop modification interface 702 displays a virtual shooting prop 704 and interaction buttons 706, 708 and 710. When interaction button 706 is located at the first intersection position with the track line, it overlaps with interaction button 708. At this time, interaction button 706 is adjusted from the first intersection position to the third intersection position to avoid overlap between interaction button 706 and interaction button 708.
[0097] It should be noted that interactive button 710 does not overlap with interactive buttons 706 and 708, and will therefore be displayed normally.
[0098] Optionally, in this embodiment, when the first interactive button displayed at the first intersection position and the second interactive button displayed at the second intersection position overlap, adjusting the display position of the second interactive button from the second intersection position to the fourth intersection position on the track line may include, but is not limited to, adjusting the display position of the second interactive button from the third intersection position to the fourth intersection position on the track line according to a pre-configured adjustment priority. When the first interactive button and the second interactive button overlap, since the second interactive button has a lower priority, the display position of the second interactive button is adjusted from the third intersection position to the fourth intersection position on the track line.
[0099] For example, Figure 8 This is a schematic diagram of another optional virtual shooting prop configuration method according to an embodiment of this application, such as... Figure 8 As shown, the prop modification interface 802 displays a virtual shooting prop 804 and interaction buttons 806, 808 and 810. When interaction button 808 is located at the second intersection position with the track line, it overlaps with interaction button 806. At this time, interaction button 808 is adjusted from the second intersection position to the fourth intersection position to avoid overlap between interaction button 806 and interaction button 808.
[0100] It should be noted that interactive button 810 does not overlap with interactive buttons 806 and 808, and will therefore be displayed normally.
[0101] Optionally, in this embodiment, when the first interactive button displayed at the first intersection position and the second interactive button displayed at the second intersection position overlap, adjusting the display position of the first interactive button from the first intersection position to the third intersection position on the track and adjusting the display position of the second interactive button from the second intersection position to the fourth intersection position on the track may include, but are not limited to, adjusting according to a pre-configured adjustment priority. When the first interactive button and the second interactive button overlap, regardless of the priority of the first interactive button and the second interactive button, or if the priorities of the first interactive button and the second interactive button are the same, then adjusting the display position of the first interactive button from the first intersection position to the third intersection position on the track and adjusting the display position of the second interactive button from the second intersection position to the fourth intersection position on the track.
[0102] For example, Figure 9 This is a schematic diagram of another optional virtual shooting prop configuration method according to an embodiment of this application, such as... Figure 9 As shown, the prop modification interface 902 displays a virtual shooting prop 904 and interaction buttons 906, 908, and 910. When interaction button 908 is located at the second intersection position with the track line, it overlaps with interaction button 906. At this time, interaction button 906 is adjusted from the first intersection position to the third intersection position, and interaction button 908 is adjusted from the second intersection position to the fourth intersection position to avoid overlap between interaction buttons 906 and 908.
[0103] It should be noted that interactive button 910 does not overlap with interactive buttons 906 and 908, and will therefore display normally.
[0104] As an optional solution, adjusting the display position of the first interactive button from the first intersection position to the third intersection position on the track, and adjusting the display position of the second interactive button from the second intersection position to the fourth intersection position on the track, includes:
[0105] Along the track in opposite directions, the display position of the first interactive button is adjusted from the first intersection position to the third intersection position on the track, and the display position of the second interactive button is adjusted from the second intersection position to the fourth intersection position on the track; or
[0106] Along the same direction on the track, the display position of the first interactive button is adjusted from the first intersection position to the third intersection position on the track, and the display position of the second interactive button is adjusted from the second intersection position to the fourth intersection position on the track.
[0107] Optionally, in this embodiment, adjusting the display position of the first interactive button from the first intersection position to the third intersection position on the track line in opposite directions along the track line, and adjusting the display position of the second interactive button from the second intersection position to the fourth intersection position on the track line, may include, but is not limited to, when the first interactive button and the second interactive button overlap, and the overlapping part is located below the first interactive button and above the second interactive button, then adjusting the first interactive button upward to the third intersection position and adjusting the second interactive button downward to the fourth intersection position, so that the first interactive button and the second interactive button no longer overlap each other.
[0108] Optionally, in this embodiment, adjusting the display position of the first interactive button from the first intersection position to the third intersection position on the track line along the same direction, and adjusting the display position of the second interactive button from the second intersection position to the fourth intersection position on the track line, may include, but is not limited to, when the first interactive button and the second interactive button overlap, and the overlapping part is located below the first interactive button and above the second interactive button, then adjusting the first interactive button upward to the third intersection position and adjusting the second interactive button upward to the fourth intersection position, so that the first interactive button and the second interactive button no longer overlap each other. At this time, the distance between the first intersection position and the third intersection position is greater than the distance between the second intersection position and the fourth intersection position. Alternatively, it may include, but is not limited to, adjusting the first interactive button downward to the third intersection position and adjusting the second interactive button downward to the fourth intersection position, so that the first interactive button and the second interactive button no longer overlap each other. At this time, the distance between the first intersection position and the third intersection position is less than the distance between the second intersection position and the fourth intersection position.
[0109] For example, Figure 10 This is a schematic diagram of another optional virtual shooting prop configuration method according to an embodiment of this application, such as... Figure 10 As shown, adjusting the display position of the first interactive button from the first intersection position to the third intersection position on the track line in opposite directions along the track line, and adjusting the display position of the second interactive button from the second intersection position to the fourth intersection position on the track line, can include, but is not limited to, the following: Figure 10 As shown in (a), adjusting the display position of the first interactive button from the first intersection position to the third intersection position on the track line along the same direction, and adjusting the display position of the second interactive button from the second intersection position to the fourth intersection position on the track line, may include, but is not limited to, the following: Figure 10 As shown in (b).
[0110] As an optional solution, displaying the first set of interactive buttons at the first intersecting position on the track line in the prop modification interface includes:
[0111] In the prop modification interface, the first set of interactive buttons are displayed at the first set of intersection positions on the track line. The first set of intersection positions is the intersection position of the track line with the line connecting the center point of the virtual shooting prop and the center point of each accessory in the first set of accessories.
[0112] Optionally, in this embodiment, the center point on the virtual shooting prop is an example of the second preset point, and the center point on each accessory is an example of the first preset point.
[0113] For example, Figure 11 This is a schematic diagram of another optional virtual shooting prop configuration method according to an embodiment of this application, such as... Figure 11 As shown, the prop modification interface displays a virtual shooting prop, which includes 3 accessories. Each accessory corresponds to an interactive button. The display position of each interactive button is the intersection of the track line starting from the center of the virtual shooting prop and the center point of the accessory.
[0114] As an optional solution, adjusting the display position of the first set of interactive buttons to a second set of positions on the track line corresponding to the target angle includes:
[0115] In the prop modification interface, the first set of interactive buttons are displayed at the second set of positions on the track line. The second set of positions is the intersection of the second set of connecting lines and the track line when the first set of accessories is rotated to the target angle. The second set of connecting lines passes through the first preset point on each of the first set of accessories when rotated to the target angle.
[0116] Optionally, in this embodiment, the second set of positions is the position displayed after the first set of exchange buttons are rotated simultaneously when the virtual shooting prop and the first set of accessories are rotated to the target angle. The second set of positions is still located on the track line and passes through the first preset point on each accessory in the first set of accessories when rotated to the target angle.
[0117] As an optional solution, displaying the first set of interactive buttons at the second set of positions on the track line in the prop modification interface includes:
[0118] In the prop modification interface, the first set of interactive buttons are displayed at the second set of intersecting positions on the track line. When the first set of interactive buttons are displayed at the second set of intersecting positions, they do not overlap. The second set of intersecting positions is the intersection of the track line with the line connecting the first preset point on the virtual shooting prop and the first set of accessories, respectively, when the virtual shooting prop and the first set of accessories are rotated to the target angle.
[0119] Optionally, in this embodiment, displaying the first set of interactive buttons on the second set of positions on the track line in the above-mentioned prop modification interface may include, but is not limited to, determining whether the first set of interactive buttons overlap on the second set of positions, and when overlap occurs, adjusting any one or all of the overlapping interactive buttons in the same or opposite direction.
[0120] Optionally, in this embodiment, the display position of the second preset point (center point of the virtual shooting prop) of the above-mentioned virtual shooting prop may include, but is not limited to, rotating as the virtual shooting prop rotates.
[0121] For example, Figure 12 This is a schematic diagram of another optional virtual shooting prop configuration method according to an embodiment of this application, such as... Figure 12 As shown, the prop modification interface displays a virtual shooting prop, which includes 3 accessories. Each accessory corresponds to an interactive button. When the virtual shooting prop is rotated, its center point also rotates. At this time, the display position of each interactive button is the intersection of the track line from the center point of the virtual shooting prop to the center point of the accessory. In other words, the display position of the interactive button will move as the center point of the virtual shooting prop rotates, but the movement trajectory follows the track line.
[0122] As an optional approach, the method further includes:
[0123] The prop modification interface displays the line connecting the first preset point on each accessory in the first set of accessories to the corresponding intersection point on the track.
[0124] Optionally, in this embodiment, the connection between the first preset point on each accessory and the corresponding intersection position on the track line can always be displayed in the prop modification interface. The connection can also be displayed according to a preset transparency. Specifically, the connection can be displayed with different transparency according to the priority of the accessory.
[0125] As an optional solution, the prop modification interface displays a first set of interactive buttons corresponding to the first set of accessories, including:
[0126] In the prop modification interface, the first set of interactive buttons are displayed at the first set of positions on the elliptical track line. Each position in the first set of positions is the intersection of the line connecting the first preset point on the corresponding accessory and the track line. The center point of the elliptical area enclosed by the track line is the center point of the virtual shooting prop.
[0127] Optionally, in this embodiment, the aforementioned preset shape of the track line may include, but is not limited to, an elliptical track line. When the virtual shooting prop is a virtual firearm, the area included by the elliptical track line can cover the entire virtual firearm as much as possible to avoid the firearm model overflowing the screen and causing an unpleasant visual experience. Players will also not be able to see the appearance of the modification parts during the modification process.
[0128] As an alternative solution,
[0129] The step of displaying the virtual shooting prop and the first set of accessories that can be modified on the virtual shooting prop in the prop modification interface includes: displaying the virtual shooting prop and the first set of accessories in the prop modification interface, wherein the display areas of the virtual shooting prop and the first set of accessories are both located in the prop modification interface;
[0130] The method further includes: in response to a trigger operation performed on a first interactive button in the first group of interactive buttons, performing a first modification operation on a first accessory corresponding to the first interactive button; and when the display area of the virtual shooting prop and the first group of accessories exceeds the prop modification interface after the first modification operation is performed, reducing the virtual shooting prop and the first group of accessories by a preset ratio so that the display areas of the reduced virtual shooting prop and the first group of accessories are both located in the prop modification interface.
[0131] Optionally, in this embodiment, the display areas of the virtual shooting prop and the first set of accessories are both located in the prop modification interface. This can be understood as the modification area of the prop modification interface being able to accommodate the virtual shooting prop and the first set of accessories.
[0132] Optionally, in this embodiment, the triggering operation may include, but is not limited to, clicking, long-pressing, etc. Through the triggering operation, a first modification operation can be performed on the first accessory. The first accessory is a certain accessory in the first group of accessories. The first modification operation may include, but is not limited to, adding, deleting, replacing, etc. If the display area of the virtual shooting prop and the first group of accessories exceeds the prop modification interface, it may include, but is not limited to, the modified virtual shooting prop not being fully displayed in the prop modification interface. In this case, the virtual shooting prop and the first group of accessories will be reduced in size according to a preset ratio. The preset ratio may include, but is not limited to, being determined by the size of the virtual shooting prop not displayed in the prop modification interface relative to the size of the virtual shooting prop.
[0133] For example, Figure 13 This is a schematic diagram of another optional virtual shooting prop configuration method according to an embodiment of this application, such as... Figure 13 As shown, the item modification interface displays interactive buttons associated with virtual shooting items and accessories, such as the interactive button for the barrel. By performing a trigger operation on the barrel button, such as installing an extended suppressor, the modified virtual shooting item may exceed the display range of the item modification interface. In this case, the modified virtual shooting item is automatically scaled so that the item modification interface can fully display the modified virtual shooting item.
[0134] As an optional approach, the method further includes:
[0135] Before rotating the virtual shooting prop and the first set of accessories to the target angle in the prop modification interface, a second set of interactive buttons corresponding to the second set of accessories is displayed in the prop modification interface. Each interactive button in the second set of interactive buttons is used to perform a modification operation on the corresponding accessory in the second set of accessories. The second set of interactive buttons is displayed at the third position on the track line. The second set of accessories are accessories that have not yet been equipped on the virtual shooting prop and are allowed to be equipped.
[0136] In response to the rotation operation of the virtual shooting prop, the display position of the second set of interactive buttons is adjusted to the fourth set of positions on the track line corresponding to the target angle.
[0137] Optionally, in this embodiment, the second set of accessories mentioned above are accessories that have not yet been assembled but are allowed to be assembled. That is, the second set of accessories mentioned above can be displayed using the same markings, such as blank markings.
[0138] Optionally, in this embodiment, if the second set of accessories is not installed in the assembly area of the virtual shooting prop, the second set of interactive buttons can be de-displayed first. When an interactive operation to modify the second set of accessories is obtained (e.g., a click operation), the second set of interactive buttons can be displayed in response to the interactive operation.
[0139] Of course, the first set of accessories and the first set of interactive buttons can also be displayed in the same way. For example, the first set of interactive buttons can be hidden first. After an interactive operation is performed on the area where the first set of accessories is located, the first set of interactive buttons can be displayed first. Then, the modification operation can be obtained and the accessories corresponding to the first set of interactive buttons can be modified.
[0140] The second set of interactive buttons corresponding to the second set of accessories mentioned above are displayed in a similar way to the first set of interactive buttons mentioned above, and will not be described again here.
[0141] As an optional solution, displaying a second set of interactive buttons corresponding to the second set of accessories in the prop modification interface includes:
[0142] In the prop modification interface, the second set of interactive buttons are displayed at the third set of positions on the track line. The third set of positions is the intersection of the third set of connecting lines with the track line. The third set of connecting lines passes through the first preset point of each accessory in the second set of accessories in the area to be assembled on the virtual shooting prop.
[0143] Optionally, in this embodiment, the area to be equipped may include, but is not limited to, the area where the second set of accessories is located in the virtual shooting prop in the prop modification interface, and the first preset point may include, but is not limited to, the center point of the area to be equipped.
[0144] The third group of positions is displayed in a similar way to the second group of positions, so it will not be described again here.
[0145] The following specific examples will further explain this application:
[0146] The virtual shooting item modification system is positioned as a highly customizable and in-depth virtual shooting item modification system. The variety of modifiable virtual shooting item accessories surpasses that of most PC and mobile shooting games. Different types and models of virtual shooting items have different modifiable parts, and more new modification slots will be added during the modification process. Therefore, the requirements for interaction are extremely high. If all fixed preset interaction schemes are used, different virtual shooting items will require different interaction schemes, and future updates of new virtual shooting items will require the UI to develop a new interaction scheme, resulting in high development costs.
[0147] Therefore, in this embodiment, the virtual shooting prop is always placed in the center of the screen, and the accessories of the virtual shooting prop are kept at the horizontal central axis of the screen. Using the center of the screen as the point of an ellipse, starting from this point, connect the centers of all modifiable accessory models, and continue extending the lines until the extended lines intersect the ellipse. The intersection point serves as the interaction button for modifying that accessory. When the player rotates the virtual shooting prop model to view it from multiple angles, the interaction button will continue to move along the elliptical track, following the rules of the extended lines. When new modification slots are created during the modification process, new interaction buttons will be automatically generated according to the rules of the extended lines and fall onto the elliptical track. For devices with different resolutions, the aspect ratio of the ellipse will be set with different values to ensure visual effects.
[0148] Specifically, this may include, but is not limited to, the following steps:
[0149] S1, fixes the position of the virtual shooting prop on the screen;
[0150] 1) Place the center of the envelope of the virtual shooting prop model (corresponding to the second preset point mentioned above) in the center of the screen, and adjust the center of the envelope to be in the center of the screen in real time, regardless of how the virtual shooting prop model changes.
[0151] 2) The length of the virtual shooting prop envelope will occupy 0.8 of the screen length to ensure that the virtual shooting prop model has a good display effect on the mobile terminal screen; the height of the virtual shooting prop envelope will be ensured not to exceed the screen, otherwise the length of the virtual shooting prop envelope will be reduced to ensure that the entire virtual shooting prop does not overflow the screen in the vertical direction.
[0152] S2, automatically generates modification interaction buttons;
[0153] 1) Regardless of how many modifiable parts the virtual shooting track has, all interactive buttons are automatically generated. The generation rules are as follows: take the center of the screen as the point of the ellipse, start from the point, connect the center of the model of all modifiable parts, and continue to extend the line until the extension line intersects the ellipse. The intersection point is used as the interactive button for modifying that part.
[0154] 2) When two interactive buttons overlap, they will be moved in the opposite direction to ensure that there is a minimum distance between the buttons.
[0155] S3, the interactive buttons and accessory models remain connected;
[0156] Since the interaction buttons for each accessory are automatically generated and their positions are uncertain, a connection is needed to link the interaction buttons to the center of the accessory model's envelope, making it easier for players to match the interaction buttons with the modified accessories.
[0157] S4, the movement and trajectory of the interactive button.
[0158] As players swipe the screen to rotate the virtual shooting item model, the interaction buttons move accordingly. The interaction buttons remain near the extended line connecting the center of the screen and the center of the accessory, always moving along an elliptical path. Regardless of the rotation angle of the virtual shooting item model, the corresponding interaction button can be quickly located by observing the current quadrant of the accessory on the screen.
[0159] One of the inventive points of this application is that the center of the screen is connected to the center of the envelope box of the accessory model. Therefore, it can be ensured that the line of sight can be followed along the extension line of the accessory model from the center of the screen to quickly locate the interactive button. No matter what angle the virtual shooting prop model is rotated, the interactive button can be quickly located.
[0160] It should be noted that the configuration method for the above-mentioned virtual shooting props can be achieved through the following technical steps:
[0161] S1. First, determine the coordinate position of each mounting point (corresponding to the aforementioned first preset point) in three-dimensional space, and abstract the concept of mounting point, that is, each accessory will have its own independent mounting point, and configuration is allowed.
[0162] S2, in order to achieve interaction, it is also necessary to convert the coordinates of the hanging point in the three-dimensional space to the screen space and start the calculation in the two-dimensional space.
[0163] S3. Using the elliptical trajectory (corresponding to the aforementioned track line), the screen space position of the hanging point, and the center point of the screen, the interaction position where the hanging point should be is determined (corresponding to the aforementioned first intersection position), and then the interaction button is placed on the correct elliptical trajectory.
[0164] S4. The length of virtual shooting props is not fixed. For example, the length of a pistol and a sniper rifle will differ greatly. The entire bounding box can be calculated by the position of all vertices in the three-dimensional space of the entire model. The projection matrix of the bounding box and the projection camera is used to calculate that the final virtual shooting prop can be configured to meet the ratio of 0.8 to the screen width, so that the player can operate the virtual shooting props at will and still achieve a perfect fit.
[0165] S5. Continue calculating the elliptical trajectory and place the interactive buttons. Simultaneously, address the spacing between each component. Due to the high degree of freedom in modifying virtual shooting props, components may overlap, and it's not guaranteed that all components will be well-distributed on the interface. For spacing, either angle or arc length can be used. For a more balanced and aesthetically pleasing layout, arc length is generally used to ensure consistent spacing between interactive buttons. There's no precise formula for arc length; it requires integration. To accelerate program execution, a table mapping arc lengths from 0 to 90° to corresponding angles is cached. During real-time calculation, the slope can be obtained using a simple linear formula to calculate the current circumference of the ellipse, which is then converted into a circumference calculation.
[0166] S6, Conflict Control: Multiple interactive buttons will be merged into a string. After the center of the interactive buttons is offset, the conflict with other interactive buttons will be recalculated on the entire elliptical trajectory.
[0167] For example, Figure 14 This is a schematic diagram of another optional virtual shooting prop configuration method according to an embodiment of this application, and the flowchart of the center point processing interval is as follows. Figure 14 As shown:
[0168] S1, calculate the positions of all elliptical trajectories;
[0169] S2, determine whether a positional conflict has occurred, and complete the current task if no positional conflict has occurred;
[0170] S3, if the result of S2 is that a conflict has occurred, combine the conflicting interactive buttons into a string, calculate the center point of the interactive buttons, and the distance from the leftmost and rightmost points of the elliptical trajectory.
[0171] S4, refresh the layout, offset from the center point, and continue to check for conflicts;
[0172] S5, mission complete.
[0173] It should be noted that this embodiment is not limited to the system interaction scheme for modifying virtual shooting props, but may also include, but is not limited to, the configuration interaction scheme for any virtual props, and is applicable to some complex, in-depth and variable modification rules.
[0174] It is understood that in the specific implementation of this application, data related to user information, game accounts, etc. are involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.
[0175] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0176] According to another aspect of the embodiments of this application, a configuration device for virtual shooting props is also provided for implementing the above-described configuration method for virtual shooting props. For example... Figure 15 As shown, the device includes:
[0177] The first display module 1502 is used to display virtual shooting props in the prop modification interface;
[0178] The second display module 1504 is used to display a first set of interactive buttons in the prop modification interface, corresponding to the first set of accessories that can be modified on the virtual shooting prop. Each interactive button in the first set of interactive buttons is used to perform a modification operation on the corresponding accessory in the first set of accessories. The first set of interactive buttons is displayed at a first set of positions on a track line of a preset shape, and the track line is located outside the virtual shooting prop.
[0179] The processing module 1506 is configured to, in response to the rotation operation of the virtual shooting prop, rotate the virtual shooting prop and the first set of accessories in the prop modification interface, and adjust the display position of the first set of interactive buttons to the second set of positions on the track line corresponding to the rotation operation.
[0180] As an optional solution, the device is used to display a first set of interactive buttons corresponding to the first set of accessories in the prop modification interface in the following manner:
[0181] In the prop modification interface, the first set of interactive buttons are displayed at the first set of positions on the track line, wherein the first set of positions is the intersection of the first set of connecting lines and the track line, and the first set of connecting lines respectively pass through the first preset point on each of the first set of accessories.
[0182] As an optional solution, the device is used to display the first set of interactive buttons at the first set of positions on the track line in the prop modification interface in the following manner:
[0183] In the prop modification interface, the first group of interactive buttons are displayed at the first group of intersecting positions on the track line. When the first group of interactive buttons are displayed at the first group of intersecting positions, they do not overlap. The first group of positions is the first group of intersecting positions. The first group of intersecting positions is the intersection of the line connecting the second preset point on the virtual shooting prop, passing through the first preset point on each of the first set of accessories, and the track line.
[0184] As an optional solution, the device is used to display the first set of interactive buttons at the first set of positions on the track line in the prop modification interface in the following manner:
[0185] When the first group of interactive buttons is displayed at the first intersecting position, and the first interactive button displayed at the first intersecting position and the second interactive button displayed at the second intersecting position overlap, the display position of the first interactive button is adjusted from the first intersecting position to the third intersecting position on the track line. The first interactive button displayed at the third intersecting position does not overlap with any other interactive buttons in the first group of interactive buttons except for the first interactive button itself. The first group of positions includes the third intersecting position but does not include the first intersecting position; or...
[0186] When the first group of interactive buttons is displayed at the first intersecting position, and the first interactive button displayed at the first intersecting position and the second interactive button displayed at the second intersecting position overlap, the display position of the second interactive button is adjusted from the second intersecting position to the fourth intersecting position on the track line. The second interactive button displayed at the fourth intersecting position does not overlap with any other interactive buttons in the first group of interactive buttons except for the second interactive button itself. The first group of positions includes the fourth intersecting position but does not include the second intersecting position; or
[0187] When the first set of interactive buttons is displayed at the first intersecting position, and the first interactive button displayed at the first intersecting position and the second interactive button displayed at the second intersecting position overlap, the display position of the first interactive button is adjusted from the first intersecting position to the third intersecting position on the track, and the display position of the second interactive button is adjusted from the second intersecting position to the fourth intersecting position on the track. The first interactive button displayed at the third intersecting position does not overlap with any other interactive button in the first set of interactive buttons except the first interactive button, and the second interactive button displayed at the fourth intersecting position does not overlap with any other interactive button in the first set of interactive buttons except the second interactive button. The first set of positions includes the third intersecting position and the fourth intersecting position, but does not include the first intersecting position and the second intersecting position.
[0188] As an optional solution, the device is used to adjust the display position of the first interactive button from the first intersection position to the third intersection position on the track line, and to adjust the display position of the second interactive button from the second intersection position to the fourth intersection position on the track line in the following manner:
[0189] Along the track in opposite directions, the display position of the first interactive button is adjusted from the first intersection position to the third intersection position on the track, and the display position of the second interactive button is adjusted from the second intersection position to the fourth intersection position on the track; or
[0190] Along the same direction on the track, the display position of the first interactive button is adjusted from the first intersection position to the third intersection position on the track, and the display position of the second interactive button is adjusted from the second intersection position to the fourth intersection position on the track.
[0191] As an optional solution, the device is used to display the first set of interactive buttons at the first set of intersecting positions on the track line in the prop modification interface in the following manner:
[0192] In the prop modification interface, the first set of interactive buttons are displayed at the first set of intersection positions on the track line. The first set of intersection positions is the intersection position of the track line with the line connecting the center point of the virtual shooting prop and the center point of each accessory in the first set of accessories.
[0193] As an optional solution, the device is used to adjust the display position of the first set of interactive buttons to a second set of positions on the track line corresponding to the target angle in the following manner:
[0194] In the prop modification interface, the first set of interactive buttons are displayed at the second set of positions on the track line. The second set of positions is the intersection of the second set of connecting lines and the track line when the first set of accessories is rotated to the target angle. The second set of connecting lines passes through the first preset point on each of the first set of accessories when rotated to the target angle.
[0195] As an optional solution, the device is used to display the first set of interactive buttons at the second set of positions on the track line in the prop modification interface in the following manner:
[0196] In the prop modification interface, the first set of interactive buttons are displayed at the second set of intersecting positions on the track line. When the first set of interactive buttons are displayed at the second set of intersecting positions, they do not overlap. The second set of intersecting positions is the intersection of the track line with the line connecting the first preset point on the virtual shooting prop and the first set of accessories, respectively, when the virtual shooting prop and the first set of accessories are rotated to the target angle.
[0197] As an optional solution, the device is also used for:
[0198] The prop modification interface displays the line connecting the first preset point on each of the first set of accessories to the corresponding intersection position on the track.
[0199] As an optional solution, the device is used to display a first set of interactive buttons corresponding to the first set of accessories in the prop modification interface in the following manner:
[0200] In the prop modification interface, the first set of interactive buttons are displayed at the first set of positions on the elliptical track line. Each position in the first set of positions is the intersection of the line connecting the first preset point on the corresponding accessory and the track line. The center point of the elliptical area enclosed by the track line is the center point of the virtual shooting prop.
[0201] As an alternative solution,
[0202] The device is used to display a virtual shooting prop and a first set of accessories that can be modified on the virtual shooting prop in the prop modification interface in the following manner: the virtual shooting prop and the first set of accessories are displayed in the prop modification interface, and the display areas of the virtual shooting prop and the first set of accessories are both located in the prop modification interface;
[0203] The device is further configured to: in response to a trigger operation performed on a first interactive button in the first group of interactive buttons, perform a first modification operation on a first accessory corresponding to the first interactive button; and, if the display area of the virtual shooting prop and the first group of accessories exceeds the prop modification interface after the first modification operation is performed, reduce the virtual shooting prop and the first group of accessories by a preset ratio so that the display area of the reduced virtual shooting prop and the first group of accessories is located within the prop modification interface.
[0204] As an optional solution, the device is also used for:
[0205] Before rotating the virtual shooting prop and the first set of accessories to the target angle in the prop modification interface, a second set of interactive buttons corresponding to the second set of accessories is displayed in the prop modification interface. Each interactive button in the second set of interactive buttons is used to perform a modification operation on the corresponding accessory in the second set of accessories. The second set of interactive buttons is displayed at the third position on the track line. The second set of accessories are accessories that have not yet been equipped on the virtual shooting prop and are allowed to be equipped.
[0206] In response to the rotation operation of the virtual shooting prop, the display position of the second set of interactive buttons is adjusted to the fourth set of positions on the track line corresponding to the target angle.
[0207] As an optional solution, the device is used to display a second set of interactive buttons corresponding to the second set of accessories in the prop modification interface in the following manner:
[0208] In the prop modification interface, the second set of interactive buttons are displayed at the third set of positions on the track line. The third set of positions is the intersection of the third set of connecting lines with the track line. The third set of connecting lines passes through the first preset point of each accessory in the second set of accessories in the area to be assembled on the virtual shooting prop.
[0209] According to one aspect of this application, a computer program product is provided, comprising a computer program / instructions containing program code for performing the methods shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via communication section 1609, and / or installed from removable media 1611. When the computer program is executed by central processing unit 1601, it performs various functions provided in embodiments of this application.
[0210] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0211] Figure 16 A schematic block diagram of a computer system architecture for implementing an electronic device according to embodiments of the present application is shown.
[0212] It should be noted that, Figure 16 The computer system 1600 of the electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.
[0213] like Figure 16 As shown, the computer system 1600 includes a central processing unit (CPU) 1601, which can perform various appropriate actions and processes based on programs stored in read-only memory (ROM) 1602 or programs loaded from storage section 1608 into random access memory (RAM). The RAM 1603 also stores various programs and data required for system operation. The CPU 1601, ROM 1602, and RAM 1603 are interconnected via a bus 1604. An input / output interface 1605 (I / O interface) is also connected to the bus 1604.
[0214] The following components are connected to the input / output interface 1605: an input section 1606 including a keyboard, mouse, etc.; an output section 1607 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 1608 including a hard disk, etc.; and a communication section 1609 including a network interface card such as a local area network card, modem, etc. The communication section 1609 performs communication processing via a network such as the Internet. A drive 1160 is also connected to the input / output interface 1605 as needed. A removable medium 1611, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on the drive 1160 as needed so that computer programs read from it can be installed into the storage section 1608 as needed.
[0215] Specifically, according to embodiments of this application, the processes described in the various method flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 1609, and / or installed from removable medium 1611. When the computer program is executed by central processing unit 1601, it performs various functions defined in the system of this application.
[0216] According to another aspect of the embodiments of this application, an electronic device for implementing the above-described method for configuring virtual shooting props is also provided. This electronic device may be... Figure 1 The terminal device or server shown. This embodiment uses this electronic device as an example for illustration. Figure 17 As shown, the electronic device includes a memory 1702 and a processor 1704. The memory 1702 stores a computer program, and the processor 1704 is configured to execute the steps of any of the above method embodiments via the computer program.
[0217] Optionally, in this embodiment, the aforementioned electronic device may be located in at least one of a plurality of network devices in a computer network.
[0218] Optionally, in this embodiment, the processor can be configured to perform the following steps via a computer program:
[0219] S1, displays virtual shooting props in the prop modification interface;
[0220] S2, in the prop modification interface, the first set of interactive buttons corresponding to the first set of accessories that can be modified on the virtual shooting prop are displayed. Each interactive button in the first set of interactive buttons is used to perform modification operations on the corresponding accessory in the first set of accessories. The first set of interactive buttons are displayed at the first position on the track line of the preset shape, and the track line is located outside the virtual shooting prop.
[0221] S3, in response to the rotation operation of the virtual shooting prop, rotates the virtual shooting prop and the first set of accessories in the prop modification interface, and adjusts the display position of the first set of interactive buttons to the second set of positions on the track line corresponding to the rotation operation.
[0222] Alternatively, as those skilled in the art will understand, Figure 17 The structure shown is for illustrative purposes only. Electronic devices can also be smartphones (such as Android phones, iOS phones, etc.), tablets, PDAs, mobile internet devices (MIDs), PADs, and other terminal devices. Figure 17 This does not limit the structure of the aforementioned electronic devices or electronic equipment. For example, electronic devices or electronic equipment may also include components that are more... Figure 17 The more or fewer components shown (such as network interfaces, etc.), or having the same Figure 17 The different configurations shown.
[0223] The memory 1702 can be used to store software programs and modules, such as the program instructions / modules corresponding to the virtual shooting prop configuration method and device in this embodiment. The processor 1704 executes various functional applications and data processing by running the software programs and modules stored in the memory 1702, thereby realizing the above-mentioned virtual shooting prop configuration method. The memory 1702 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 1702 may further include memory remotely located relative to the processor 1704, and these remote memories can be connected to the terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. Specifically, the memory 1702 may be used, but is not limited to, to store information such as game accounts and image and animation resources of virtual shooting props. As an example, such as Figure 17 As shown, the memory 1702 may include, but is not limited to, the first display module 1502, the second display module 1504, and the processing module 1506 of the virtual shooting prop configuration device. Furthermore, it may include, but is not limited to, other module units of the virtual shooting prop configuration device, which will not be elaborated upon in this example.
[0224] Optionally, the transmission device 1706 described above is used to receive or send data via a network. Specific examples of the network described above may include wired networks and wireless networks. In one example, the transmission device 1706 includes a Network Interface Controller (NIC), which can be connected to other network devices and a router via a network cable to communicate with the Internet or a local area network. In another example, the transmission device 1706 is a radio frequency (RF) module, used for wireless communication with the Internet.
[0225] In addition, the aforementioned electronic device also includes: a display 1708 for displaying the aforementioned prop modification interface; and a connection bus 1710 for connecting the various module components in the aforementioned electronic device.
[0226] In other embodiments, the aforementioned terminal device or server can be a node in a distributed system, wherein the distributed system can be a blockchain system, which is a distributed system formed by connecting multiple nodes through network communication. The nodes can form a peer-to-peer (P2P) network, and any form of computing device, such as a server, terminal, or other electronic device, can become a node in the blockchain system by joining this peer-to-peer network.
[0227] According to one aspect of this application, a computer-readable storage medium is provided, from which a processor of a computer device reads computer instructions, and the processor executes the computer instructions, causing the computer device to perform the virtual shooting prop configuration method provided in various alternative implementations of the above-described virtual shooting prop configuration aspect.
[0228] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program for performing the following steps:
[0229] S1, displays virtual shooting props in the prop modification interface;
[0230] S2, in the prop modification interface, the first set of interactive buttons corresponding to the first set of accessories that can be modified on the virtual shooting prop are displayed. Each interactive button in the first set of interactive buttons is used to perform modification operations on the corresponding accessory in the first set of accessories. The first set of interactive buttons are displayed at the first position on the track line of the preset shape, and the track line is located outside the virtual shooting prop.
[0231] S3, in response to the rotation operation of the virtual shooting prop, rotates the virtual shooting prop and the first set of accessories in the prop modification interface, and adjusts the display position of the first set of interactive buttons to the second set of positions on the track line corresponding to the rotation operation.
[0232] Optionally, in this embodiment, those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing the hardware related to the terminal device. The program can be stored in a computer-readable storage medium, which may include: flash drive, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0233] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0234] If the integrated units in the above embodiments are implemented as software functional units and sold or used as independent products, they can be stored in the aforementioned computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause one or more computer devices (which may be personal computers, servers, or network devices, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application.
[0235] In the above embodiments of this application, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0236] In the several embodiments provided in this application, it should be understood that the disclosed client can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces, indirect coupling or communication connection between units or modules, and may be electrical or other forms.
[0237] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0238] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0239] The above description is only a preferred embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.
Claims
1. A configuration method of a virtual shooting prop, characterized by, include: The prop modification interface displays the virtual shooting prop, the first set of accessories that can be modified on the virtual shooting prop, and the first set of interactive buttons that correspond one-to-one with each accessory in the first set of accessories. Each interactive button is used to perform modification operations on the corresponding accessory. Each interactive button is displayed at the first set of positions on a preset-shaped track line located outside the virtual shooting prop; the area included by the track line can cover the entire virtual shooting prop. When the first group of interactive buttons are displayed at the first group of intersecting positions and do not overlap, the first group of positions is the first group of intersecting positions. The first group of intersecting positions follows the extension line rule: the display position of the interactive button on the track line is the intersection of the line connecting the center point of the virtual shooting prop and the center point of each accessory. The center point of the virtual shooting prop is the center point of the screen, and the accessories of the virtual shooting prop are kept at the horizontal central axis position of the screen. In response to the rotation operation of the virtual shooting prop, the virtual shooting prop and the first set of accessories are rotated in the prop modification interface, and the display position of the first set of interactive buttons on the track line is adjusted to the second set of positions corresponding to the rotation operation. During the rotation of the virtual shooting prop, the position of the track line in the prop modification interface remains unchanged, and the display position of the interactive button continues to move along the track line in accordance with the extension line rule; the position of the interactive button can be located by the quadrant in which the accessory is located on the screen; In response to a trigger operation performed on the interactive button corresponding to any accessory in the first group of interactive buttons, the accessory is modified. If the display area of the modified virtual shooting prop and the first group of accessories exceeds the prop modification interface, the virtual shooting prop and the first group of accessories are reduced by a preset ratio so that the display area of the virtual shooting prop and the first group of accessories is always within the prop modification interface. If a new modification slot is expanded during the modification process, a new interactive button is automatically generated according to the extension line rule and falls on the track line. The dimensions of the track lines are adjusted according to the resolution of the display device.
2. The method of claim 1, wherein, The method further includes: When the first group of interactive buttons is displayed at the first intersecting position, and the first interactive button displayed at the first intersecting position and the second interactive button displayed at the second intersecting position overlap, the display position of the first interactive button is adjusted from the first intersecting position to the third intersecting position on the track line. The first interactive button displayed at the third intersecting position does not overlap with any other interactive buttons in the first group of interactive buttons except for the first interactive button itself. The first group of positions includes the third intersecting position but does not include the first intersecting position; or... When the first group of interactive buttons is displayed at the first intersecting position, and the first interactive button displayed at the first intersecting position and the second interactive button displayed at the second intersecting position overlap, the display position of the second interactive button is adjusted from the second intersecting position to the fourth intersecting position on the track line. The second interactive button displayed at the fourth intersecting position does not overlap with any other interactive buttons in the first group of interactive buttons except for the second interactive button itself. The first group of positions includes the fourth intersecting position but does not include the second intersecting position; or When the first set of interactive buttons is displayed at the first intersecting position, and the first interactive button displayed at the first intersecting position and the second interactive button displayed at the second intersecting position overlap, the display position of the first interactive button is adjusted from the first intersecting position to the third intersecting position on the track, and the display position of the second interactive button is adjusted from the second intersecting position to the fourth intersecting position on the track. The first interactive button displayed at the third intersecting position does not overlap with any other interactive button in the first set of interactive buttons except for the first interactive button, and the second interactive button displayed at the fourth intersecting position does not overlap with any other interactive button in the first set of interactive buttons except for the second interactive button. The first set of positions includes the third intersecting position and the fourth intersecting position, but does not include the first intersecting position and the second intersecting position.
3. The method of claim 2, wherein, The step of adjusting the display position of the first interactive button from the first intersection position to the third intersection position on the track, and adjusting the display position of the second interactive button from the second intersection position to the fourth intersection position on the track, includes: Along the track in opposite directions, the display position of the first interactive button is adjusted from the first intersection position to the third intersection position on the track, and the display position of the second interactive button is adjusted from the second intersection position to the fourth intersection position on the track; or Along the same direction on the track, the display position of the first interactive button is adjusted from the first intersection position to the third intersection position on the track, and the display position of the second interactive button is adjusted from the second intersection position to the fourth intersection position on the track.
4. The method of claim 1, wherein, Adjusting the display position of the first group of interactive buttons on the track to the second group of positions corresponding to the rotation operation includes: In the prop modification interface, the first set of interactive buttons are displayed at the second set of positions on the track line. The second set of positions is the intersection of the second set of connecting lines with the track line when the first set of accessories is rotated to the target angle in the rotation direction corresponding to the rotation operation. The second set of connecting lines passes through the first preset point on each accessory in the first set of accessories when rotated to the target angle.
5. The method of claim 4, wherein, The step of displaying the first set of interactive buttons at the second set of positions on the track line in the prop modification interface includes: In the prop modification interface, the first set of interactive buttons are displayed at the second set of intersecting positions on the track line. When the first set of interactive buttons are displayed at the second set of intersecting positions, they do not overlap. The second set of intersecting positions is the intersection of the track line with the line connecting the first preset point on the virtual shooting prop and the first set of accessories, respectively, when the virtual shooting prop and the first set of accessories are rotated to the target angle.
6. The method of claim 1, wherein, The method further includes: The prop modification interface displays the line connecting the center point of each accessory in the first group of accessories to the corresponding intersection position on the track.
7. The method according to any one of claims 1 to 6, characterized in that, The prop modification interface displays a first set of interactive buttons corresponding to the first set of accessories, including: In the prop modification interface, the first set of interactive buttons are displayed at the first set of positions on the elliptical track, wherein the center point of the elliptical area enclosed by the track is the center point of the virtual shooting prop.
8. The method according to any one of claims 1 to 6, characterized in that, The step of displaying the virtual shooting prop and the first set of accessories that can be modified on the virtual shooting prop in the prop modification interface includes: displaying the virtual shooting prop and the first set of accessories in the prop modification interface, wherein the display areas of the virtual shooting prop and the first set of accessories are both located in the prop modification interface.
9. The method according to any one of claims 1 to 6, characterized in that, The method further includes: Before rotating the virtual shooting prop and the first set of accessories to the target angle in the prop modification interface, a second set of interactive buttons corresponding to the second set of accessories is displayed in the prop modification interface. Each interactive button in the second set of interactive buttons is used to perform a modification operation on the corresponding accessory in the second set of accessories. The second set of interactive buttons is displayed at the third position on the track line. The second set of accessories are accessories that have not yet been equipped on the virtual shooting prop and are allowed to be equipped. In response to the rotation operation of the virtual shooting prop, the display position of the second set of interactive buttons is adjusted to the fourth set of positions on the track line corresponding to the target angle.
10. The method according to claim 9, characterized in that, The second set of interactive buttons corresponding to the second set of accessories, displayed in the prop modification interface, includes: In the prop modification interface, the second set of interactive buttons are displayed at the third set of positions on the track line. The third set of positions is the intersection of the third set of connecting lines with the track line. The third set of connecting lines passes through the first preset point of each accessory in the second set of accessories in the area to be assembled on the virtual shooting prop.
11. A computer readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein the program is executed by a terminal device or computer to perform the method described in any one of claims 1 to 10.
12. A computer program product comprising computer programs / instructions, characterized in that, When the computer program / instructions are executed by the processor, they implement the steps of the method described in any one of claims 1 to 10.
13. An electronic device comprising a memory and a processor, characterized in that The memory stores a computer program, and the processor is configured to execute the method described in any one of claims 1 to 10 through the computer program.