Control method and device in game, electronic equipment and readable storage medium
By displaying multiple assignment controls and resource bases in the graphical user interface of multiplayer online large map games and allowing players to operate on the same interface, the cumbersome resource acquisition and assignment process problems are solved, and operation efficiency and resource acquisition efficiency are improved.
Patent Information
- Application Number
- CN202411536194.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-31
- Publication Date
- 2025-03-25
- Estimated Expiration
- 2044-10-31
AI Technical Summary
In the multiplayer online large map game, players need to frequently assign virtual objects to the resource base to collect resources through cumbersome operation processes, resulting in low operation efficiency, heavy memory burden, and frequent interface switching.
By displaying multiple assignment controls in the graphical user interface, each of which is associated with a different type of virtual object, players can select target assignment controls and resource strongholds on the same interface, and view resource stronghold properties and virtual objects' movement routes without switching interfaces.
The operation process of virtual object assignment is simplified, the operation efficiency is improved, the memory and cognitive burden of players is reduced, and the resource collection efficiency in the game is enhanced.
Smart Images

Figure CN119680198A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computers, and in particular to a control method, device, electronic device and computer-readable storage medium in a game. Background Art
[0002] In a multiplayer online large-map game, a large number of resource strongholds are distributed in the virtual scene. Players can control the controlled virtual objects to collect virtual resources at the resource strongholds in order to build bases and train troops.
[0003] In the related technology, it is necessary to first select a resource base in the virtual map, check the resource attributes of the resource base, click the mining button to display the scheduling interface, and then select the type and number of controlled virtual objects that can go to the resource base of this level in the scheduling interface. After confirmation, click the expedition button to complete the expedition, so that the controlled virtual objects can collect the virtual resources on the selected resource base.
[0004] However, for each resource base to be collected, the above-mentioned expedition process needs to be repeated. The operation process of dispatching virtual objects to collect resources is relatively cumbersome and involves frequent interface switching, which is time-consuming and labor-intensive. In addition, the visual connection between the display of the resource attributes of the resource base and the dispatching interface is weak, and the cognitive and memory burdens of the players are heavy, resulting in low resource collection efficiency.
[0005] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present application, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention
[0006] In view of this, the present application provides a control method, device, electronic device and computer-readable storage medium in the game, which can simplify the operation method of assigning virtual objects to resource bases, improve operation efficiency, reduce the memory burden and cognitive burden of players, thereby improving the efficiency of assigning virtual objects.
[0007] In a first aspect, an embodiment of the present application provides a control method in a game, wherein a graphical user interface is provided through a terminal device, wherein the graphical user interface displays at least a portion of a virtual scene corresponding to a target game account, wherein the virtual scene includes a plurality of resource bases, and the plurality of resource bases include resource bases configured with virtual resources of different resource types; the method comprises:
[0008] Displaying a plurality of assignment controls through the graphical user interface, each of the assignment controls is respectively associated with a virtual object of a different object type;
[0009] In response to a first selection operation, determining a target assigned control among the assigned controls;
[0010] In response to a second selection operation, determining a first resource location among the resource locations;
[0011] While maintaining the second selection operation, displaying the base attribute information of the first resource base and / or the moving route identifier of the first virtual object associated with the target assignment control to be moved;
[0012] In response to the completion of the second selection operation, a specified number of first virtual objects are assigned to the first resource location.
[0013] In a second aspect, an embodiment of the present application provides a control device in a game, which provides a graphical user interface through a terminal device, wherein the graphical user interface displays at least a portion of a virtual scene corresponding to a target game account, wherein the virtual scene includes a plurality of resource bases, and the plurality of resource bases include resource bases configured with virtual resources of different resource types; the device includes: a display unit, a determination unit, and an assignment unit;
[0014] The display unit is used to display a plurality of assigned controls through the graphical user interface, each of the assigned controls being associated with a virtual object of a different object type;
[0015] The determining unit is used to determine a target assigned control among the assigned controls in response to the first selection operation;
[0016] The determining unit is further configured to determine a first resource base among the resource bases in response to a second selection operation;
[0017] The display unit is further configured to display, while maintaining the second selection operation, the base attribute information of the first resource base and / or the moving route identifier of the first virtual object associated with the target assignment control to be moved;
[0018] The assigning unit is configured to assign a specified number of first virtual objects to the first resource point in response to completion of the second selection operation.
[0019] In a third aspect, an embodiment of the present application provides an electronic device, including:
[0020] Processor; and
[0021] The memory is used to store a data processing program. After the electronic device is powered on and the program is run by the processor, the method of the first aspect is executed.
[0022] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium storing a data processing program, which is executed by a processor to perform the method of the first aspect.
[0023] The control method in the game provided by the present application provides a graphical user interface through a terminal device, wherein the graphical user interface displays at least a portion of a virtual scene corresponding to a target game account, wherein the virtual scene includes multiple resource bases, and the multiple resource bases include resource bases configured with virtual resources of different resource types, that is, the resource types of the virtual resources configured in each resource base may be the same or different; multiple assignment controls are displayed through the graphical user interface, each assignment control is respectively associated with a virtual object of a different object type; in response to a first selection operation, a target assignment control is determined in each assignment control; in response to a second selection operation, a first resource base is determined in each resource base; while maintaining the second selection operation, the base attribute information of the first resource base and / or the movement route identifier of the first virtual object associated with the target assignment control to be moved are displayed; in response to the end of the second selection operation, a specified number of first virtual objects are assigned to the first resource base.
[0024] By simultaneously displaying resource bases and assignment controls associated with virtual objects of different object types on a graphical user interface, a strong visual connection can be established for players in the process of assigning virtual objects to resource bases, so that players can intuitively view resource bases and various assignment controls at the same time in the same game interface without switching interfaces, thereby reducing the memory and cognitive burden of players. Furthermore, by applying operations to the above-mentioned assignment controls and resource bases, the operation process of quickly assigning the virtual objects corresponding to the assignment controls to the resource bases can be implemented. It can be seen that the operation of assigning virtual objects to resource bases in the present application is simple and fast, thereby improving the efficiency of virtual object assignment. In addition, according to the second selection operation, while selecting the first resource base, the base attribute information of the first resource base and the movement route of the first virtual object to be assigned can be conveniently viewed. In this way, players can grasp a variety of game information at the same time, and then reasonably and quickly formulate virtual object assignment strategies. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0026] Figure 1A schematic diagram of a game system for implementing a control method in a game provided in an embodiment of the present application;
[0027] Figure 2 A flowchart of an example of a control method in a game provided in an embodiment of the present application;
[0028] Figure 3 A schematic diagram of an interface display of a control method in a game provided in an embodiment of the present application;
[0029] Figure 4 A schematic diagram showing another example of an interface display of a control method in a game provided in an embodiment of the present application;
[0030] Figure 5 A schematic diagram showing another example of an interface display of a control method in a game provided in an embodiment of the present application;
[0031] Figure 6 A schematic diagram of recommendation marks of different collection recommendation degrees provided in an embodiment of the present application;
[0032] Figure 7 A schematic diagram of an interface display example of batch assignment of virtual objects provided in an embodiment of the present application;
[0033] Figure 8 A schematic diagram of the structure of a control device in a game provided by an embodiment of the present application;
[0034] Fig. 9 A structural block diagram of an electronic device for implementing a control method in a game is provided for an embodiment of the present application. DETAILED DESCRIPTION
[0035] Many specific details are described in the following description to facilitate a full understanding of the present application. However, the present application can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of the present application, so the present application is not limited by the specific implementation disclosed below.
[0036] It should be noted that the terms "first", "second", "third", etc. in the claims, description and drawings of the present application are used to distinguish similar objects and are not used to describe a specific order or sequence. The data used in this way are interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including", "having" and their variants are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0037] It should be understood that in the embodiments of the present application, "at least one" refers to one or more, "several" refers to one or more, and "multiple" refers to two or more. "And / or" is only a way to describe the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship. "Including A, B and / or C" means including any one, any two, or any three of A, B, and C.
[0038] It should be understood that in the embodiments of the present application, "B corresponding to A", "B corresponding to A", "A corresponds to B", or "B corresponds to A" means that B is associated with A, and B can be determined according to A. Determining B according to A does not mean determining B only according to A, and B can also be determined according to A and / or other information.
[0039] Before introducing the control method in the game provided by the present application, the related technology is first further explained.
[0040] At present, in multiplayer online games, there are resource bases of multiple resource types distributed in the scene map. When the player controls the virtual object to go to the resource base to collect virtual resources, the user needs to click on the resource base one by one to view the resource type, resource level, and resource remaining amount corresponding to the virtual resources on the resource base. For example, when the player wants to collect metal ore, he needs to find the target resource base equipped with metal ore that meets the needs one by one in multiple resource bases, and then after selecting the target resource base, the mining button is displayed. After clicking the mining button, the scheduling interface is displayed, and then the type and number of virtual objects that can go to the resource base of this level are selected in the scheduling interface. After confirmation, click the expedition button to complete the expedition, so that the virtual object can collect the virtual resources on the selected resource base. This operation process is relatively cumbersome and extremely consumes the user's energy and time cost, which not only leads to a low gaming experience for the user, but also reduces the user's operating efficiency, thereby reducing the efficiency of virtual object deployment in the game.
[0041] Based on the above-mentioned problems, the embodiments of the present application provide a control method, device, electronic device and computer-readable storage medium in a game.
[0042] The control method in the game provided by the embodiment of the present application can be performed by an electronic device, which can be a terminal or a server. The terminal can be a terminal device such as a smart phone, a tablet computer, or a laptop computer. The server can be an independent physical server, or a server cluster or a distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The server can be hardware or software. When the server is hardware, it can be implemented as a distributed server cluster composed of multiple servers, or it can be implemented as a single server. When the server is software, it can be implemented as multiple software or software modules (such as software or software modules for providing distributed services), or it can be implemented as a single software or software module. The embodiment of the present application does not specifically limit this.
[0043] In an optional embodiment, when the control method in the game is run on a terminal device, the terminal device stores a game application and a game virtual scene. The terminal device interacts with the player through a graphical user interface. The terminal device may provide the graphical user interface to the player in a variety of ways, for example, it may be rendered and displayed on a display screen of the terminal device, or the graphical user interface may be presented through holographic projection.
[0044] In an optional embodiment, when the control method in the game runs on the server, the method can be implemented and executed based on the cloud game system. The cloud game system refers to a game method based on cloud computing. The cloud game system includes a server and a client device. The running body of the game application and the game screen presentation body are separated, and the storage and operation of the control method in the game are completed on the server. The game screen presentation is completed on the client, and the client is mainly used for receiving and sending game data and presenting the game screen. For example, the client can be a display device with data transmission function close to the player side, such as a mobile terminal, a TV, a computer, a handheld computer, a personal digital assistant, a head-mounted display device, etc., but the terminal device for processing game data is a server in the cloud. When playing the game, the player operates the client to send instructions to the server, and the server controls the running of the game according to the instructions, encodes and compresses the game screen and other data, and returns it to the client through the network. Finally, the client decodes and outputs the game screen.
[0045] It should be noted that in the embodiments of the present application, the execution subject of the control method in the game can be a terminal device or a server, wherein the terminal device can be a local terminal device or a client device in the aforementioned cloud game. The embodiments of the present application do not limit the type of the execution subject.
[0046] For example, in combination with the above introduction, Figure 1 A game system 1000 for implementing a control method in a game provided by an embodiment of the present application is shown. The game system 1000 may include at least one terminal 1001, at least one server 1002, at least one database 1003, and a network. The terminal 1001 held by the player can be connected to servers of different games through the network. The terminal is any device with computing hardware that can support and execute software application tools corresponding to the game.
[0047] In the above-mentioned game system 1000, the terminal 1001 is used to install and run the game application. In some cases, the game application may not be installed in advance in the terminal 1001, and the player can directly access the game through a client such as a browser. The player uses the registered game account to log in to the game application, and can control the virtual character corresponding to the game account to participate in the game. When the player logs in to the game application, the terminal 1001 will send a login request to the server 1002, and the server 1002 will verify the game account used by the player. At the same time, the server 1002 determines the game mechanism corresponding to the game account according to the login request, and the verification will return a login success notification to the terminal 1001. In the process of the player participating in the game through the game application, the terminal 1001 and the server 1002 interact with each other, and the terminal 1001 sends various information to the server 1002. The server 1002 determines the display data of the terminal 1001 according to the stored game mechanism (such as the control method in the game provided by this application) and the received information, and sends the display data to the terminal 1001, so as to display the display data sent by the server 1002 to the player through the terminal 1001.
[0048] In possible application scenarios, different terminals 1001 may be served by different servers 1002. Therefore, in order to distinguish the servers 1002 corresponding to different game terminals 1001, the first and second methods will be used for description when involved in the embodiments of the present application. In fact, the servers 1002 corresponding to different game terminals 1001 may be the same server 1002. Therefore, without distinguishing between the first and the second, it can be understood that the terminals 1001 corresponding to the virtual characters in the same game scene are served by the same server 1002.
[0049] In addition, when the game system 1000 includes multiple terminals, multiple servers, and multiple networks, different terminals can be connected to each other through different networks and different servers. The network can be a wireless network or a wired network, such as a wireless network such as a wireless local area network (WLAN), a local area network (LAN), a cellular network, a 2G network, a 3G network, a 4G network, a 5G network, etc. In addition, different terminals can also use their own Bluetooth network or hotspot network to connect to other terminals or to servers, etc. In addition, the game system 1000 may include multiple databases, multiple databases are coupled to different servers, and game-related information can be continuously stored in the database when different players play multi-player games online.
[0050] It should be noted that Figure 1 The game system diagram shown is only an example. The game system 1000 described in the embodiment of the present application is to more clearly illustrate the technical solution of the embodiment of the present application, and does not constitute a limitation on the technical solution provided in the embodiment of the present application. A person of ordinary skill in the art can know that with the evolution of the game system and the emergence of new business scenarios, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.
[0051] It should be noted that the operations that occur in the subsequent detailed introduction of the control method in the game provided by the embodiment of the present application can all be regarded as operations performed by the player through fingers or controlling a medium such as a mouse, keyboard, or stylus. The specific medium to be used can be determined according to the type of electronic device. For example, when the electronic device is a touch screen device such as a mobile phone, a tablet computer, or a game console, the player can operate on the touch screen through any suitable object or accessory such as a finger or stylus. When the terminal device is a non-touch screen terminal device such as a desktop computer or a laptop computer, the player can operate through an external device such as a mouse or keyboard.
[0052] It should be noted that in the embodiments of the present application, there is no restriction on whether the terminal device providing the graphical user interface is placed horizontally or vertically, that is, there is no specific restriction on whether the virtual game is a horizontal screen game or a vertical screen game. In this embodiment, the virtual game is a horizontal screen game, and the terminal device is placed horizontally as an example to introduce the solution. However, it does not mean that the control method in the game provided by this application is not applicable to vertical screen games. The control method in the game provided by this application can be applied to horizontal screen games and vertical screen games, that is, the operation mode set in the virtual game and the corresponding game logic are consistent in horizontal screen games and vertical screen games, and there are only slight differences in the layout of the interface elements in the graphical user interface.
[0053] The technical solution of the present application is described in detail below through specific embodiments. It should be noted that the following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0054] In the embodiment of the present application, a graphical user interface is provided through a terminal device, and at least a portion of a virtual scene corresponding to a target game account is displayed in the graphical user interface, and the virtual scene includes a plurality of resource bases, and the plurality of resource bases include resource bases configured with virtual resources of different resource types;
[0055] Among them, the graphical user interface is the visual representation and operation interface for players to interact with virtual games, including any visual controls or elements that players can see, for example, it can display the game scene of the virtual game, game controls (such as skill controls, movement controls, function controls, etc.), indicators (such as direction indicators, character indicators, etc.), information display panels (such as the number of people defeated, game time, etc.), or game setting controls (such as system settings, stores, gold coins, etc.), and can also include pictures, input boxes, text boxes and other controls, some of which UI (User Interface) controls respond to player operations.
[0056] In a graphical user interface, multiple interface contents to be displayed are usually presented in layers. Layers refer to a layered display method in a graphical user interface. Different interface contents can be placed on different layers to better control the display and hiding of each interface content. For example, the game scene can be placed on the scene layer, that is, the scene layer is mainly used to render the game world and the objects therein, including characters, environments, dynamic elements, etc. The display of various UI (User Interface) elements is placed on the UI layer. For example, UI elements can include but are not limited to various operation controls, information panels for displaying various game information (such as chat interfaces, character status panels, etc.), game thumbnail maps, and other elements. Since UI elements are interface elements for players to interact with games, generally, the display level of the UI layer where UI elements are placed is higher than the scene layer of the game scene. That is, the display level of each UI element is higher than the display level of the scene screen.
[0057] A virtual scene is a virtual environment displayed (or provided) when an application is running on a terminal device or server. Optionally, the virtual scene is a simulation of the real world, or a semi-simulation and semi-fictitious virtual environment, or a purely fictitious virtual environment. The virtual scene can be any of a two-dimensional virtual environment and a three-dimensional virtual environment, and the virtual environment can be the sky, land, sea, etc. Among them, the virtual scene is a scene where the player controls the complete game logic of the virtual object. Optionally, the virtual scene is also used for a virtual environment battle between at least two virtual objects, and the virtual scene has virtual resources that can be used by at least two virtual objects.
[0058] A virtual object may be a model controlled by a player in a virtual environment, including but not limited to at least one of a virtual character, a virtual animal, an anime character, a virtual battleship, a virtual vehicle, a virtual aircraft, and a virtual ship, and may also be a virtual object (NPC) controlled by a non-player. Optionally, when the virtual environment is a three-dimensional virtual environment, the virtual object may be a three-dimensional virtual model, and each virtual object has its own shape and volume in the three-dimensional virtual environment, occupying a portion of the space in the three-dimensional virtual environment. Optionally, the virtual object is a three-dimensional character constructed based on three-dimensional human skeleton technology, or a three-dimensional object constructed based on three-dimensional technology, and the virtual object realizes different external images by being given different skins. In some implementations, the virtual object may also be implemented using a 2.5-dimensional or 2-dimensional model, which is not limited in the embodiments of the present application.
[0059] The above-mentioned resource base is a map point in the virtual scene that is used to provide virtual resources. For example, the resource base can be a virtual metal mine, a virtual crystal mine, a virtual heavy hydrogen mine, a virtual special mine, and other map points. Optionally, a number of resource bases are distributed in the virtual scene, so that players can collect virtual resources at the resource bases to upgrade and develop the building objects they created. The resource bases in the virtual scene can be refreshed, usually by refreshing each resource base in the virtual scene at predetermined time intervals, so that players can collect virtual resources at the resource bases at regular intervals by dispatching virtual objects on the base bases. Optionally, in this embodiment, the base base is a map point used to manufacture, station and / or train the virtual object.
[0060] In the embodiment of the present application, a variety of virtual resources of different resource types may be included in the game, and each resource base may include one or more types of virtual resources. For example, virtual resources may include but are not limited to: metals, crystals, heavy hydrogen, special ore bodies, wood, stone, food, land, etc. For each virtual resource, it may include multiple resource levels. For example, taking metal as an example, the metal level may include: primary metal, secondary metal, and tertiary metal, among which the primary metal has the lowest level and its corresponding resistance is weaker, and the tertiary metal has the highest level and its corresponding resistance is stronger. In the actual game scene, a mining ship constructed with a tertiary metal will have better stability and stronger resistance than a mining ship constructed with a primary metal. Optionally, the virtual resources on each resource base correspond to one or more resource levels, and the resource levels of the virtual resources on different resource bases may be the same or different, and the embodiment of the present application does not specifically limit this.
[0061] like Figure 2 As shown, Figure 2 This is a flow chart of an example of a control method in a game provided by an embodiment of the present application. It should be noted that the steps shown can be performed in a logical order different from that shown in the flow chart of the method. The method may include the following steps S110 to S150.
[0062] Step S110: displaying a plurality of assignment controls through a graphical user interface, each assignment control being associated with a virtual object of a different object type.
[0063] Step S120: In response to the first selection operation, a target assigned control among the assigned controls is determined.
[0064] Step S130: In response to the second selection operation, a first resource location among the resource locations is determined.
[0065] Step S140: while maintaining the second selection operation, displaying the site attribute information of the first resource site and / or the movement route identifier of the first virtual object associated with the target assignment control to be moved.
[0066] Step S150: In response to the completion of the second selection operation, assigning a specified number of first virtual objects to the first resource location.
[0067] The following is a detailed description of each of the above steps S110 to S150.
[0068] With respect to the above step S110, the above multiple assigned controls may be displayed in any blank position in the graphical user interface, or may be displayed in a preset information panel, without any specific limitation. The information panel is a UI element for displaying multiple assigned controls; in this embodiment, the display area of the information panel may be any position in the graphical user interface, and may be set according to the actual interface layout requirements.
[0069] The above-mentioned multiple assignment controls are respectively associated with virtual objects of different object types, and the assignment controls are used to assign virtual objects to resource bases in the virtual scene so that the virtual objects can go to the corresponding resource bases to collect resources.
[0070] In this embodiment, the virtual object may be a model controlled by a player in a virtual environment, including but not limited to at least one of a virtual character, a virtual animal, an anime character, a virtual warship, a virtual vehicle, a virtual aircraft, and a virtual ship. For details, please refer to the above description and will not be repeated here. It should be noted that in this embodiment, the virtual object may include a virtual object unit or a virtual object formation, wherein a virtual object unit refers to a virtual object composed of a single model, and a virtual object formation refers to a virtual object composed of multiple models, such as a fleet composed of 5 ships, which can be regarded as a virtual object.
[0071] The above object type is a kind of attribute information of the virtual object, which can be used to distinguish each virtual object at a macro level. For example, when the virtual object is a ship, the virtual object can be divided into small engineering ships, medium engineering ships and large engineering ships according to the object type. Exemplarily, in this embodiment, the attribute information of the virtual object may also include but is not limited to: the resource collection level of the virtual object, the movement speed of the virtual object, the speed at which the virtual object collects virtual resources, the resource storage capacity of the virtual object, etc.
[0072] Among them, the resource collection level is used to indicate the highest level of virtual resources that the virtual object can collect, and the resource collection level is usually matched with the object type. For example, the resource collection level of a small engineering ship is lower than that of a medium-sized engineering ship, and the resource collection level of a medium-sized engineering ship is lower than that of a large engineering ship. In addition, the resource storage capacity of a small engineering ship is lower than that of a medium-sized engineering ship, and the resource storage capacity of a medium-sized engineering ship is lower than that of a large engineering ship.
[0073] The higher the resource collection level of the virtual object, the higher the resource level of the virtual resources that the virtual object can collect. For example, the resource collection level of a small engineering ship is level 2, that is, the resource level of virtual resources that the small engineering ship can collect is 1 to 2; the resource collection level of a medium-sized engineering ship is level 5, that is, the resource level of virtual resources that the medium-sized engineering ship can collect is 1 to 5, and so on.
[0074] It should be noted that, for example, when virtual objects are divided into small engineering ships, medium engineering ships and large engineering ships according to object types, the above-mentioned assignment controls may include assignment control 1, assignment control 2 and assignment control 3, wherein assignment control 1 is associated with large engineering ships, assignment control 2 is associated with medium engineering ships, and assignment control 3 is associated with small engineering ships.
[0075] Optionally, when each assignment control is displayed, the number of virtual objects in an idle state associated with each assignment control may be displayed at a corresponding position of each assignment control.
[0076] Preferably, the corresponding position of the assigned control may be near the assigned control; the virtual object in an idle state refers to a virtual object that is not currently performing any game behavior;
[0077] Optionally, the display method of the number of virtual objects in an idle state may include: displaying a specific value, and / or displaying a graphic identifier. For example, a value of 3 may be displayed near the corresponding medium-sized engineering ship assignment control, indicating that the number of medium-sized engineering ships in an idle state is 3; or, ship identifiers of 3 medium-sized engineering ships may be displayed, indicating that the number of medium-sized engineering ships in an idle state is 3. The ship identifier may be any graphic, such as a triangle, a quadrilateral, a five-pointed star, etc., which is not specifically limited in this embodiment.
[0078] With respect to the above step S120, the above first selection operation is a trigger operation applied by the player to determine a target assigned control among the assigned controls. In a specific embodiment, the first selection operation may include but is not limited to: a press operation, a slide operation, a click operation, a shortcut key operation, a voice command operation, etc. The above target assigned control may be understood as an assigned control that is expected to be selected to trigger a corresponding game function, and the target assigned control may be any one of the assigned controls.
[0079] As in the above example, when the assignment controls displayed in the graphical user interface may include assignment control 1, assignment control 2 and assignment control 3, and assignment control 1 is associated with a large engineering ship, assignment control 2 is associated with a medium-sized engineering ship, and assignment control 3 is associated with a small engineering ship, when the player applies a click operation to assignment control 2, assignment control 2 can be determined as the target assignment control. In the case where assignment control 2 is the target assignment control, if the player applies a click operation to assignment control 1, assignment control 1 can be determined as the target assignment control, and assignment control 2 is no longer the target assignment control.
[0080] Optionally, after determining the target assignment control, the target assignment control can be displayed differently, for example, by highlighting the target assignment control, graying out the target assignment control, strobing the target assignment control, etc., without specific limitation. In this way, based on the player's operation feedback, the player can intuitively understand the currently selected target assignment control, thereby improving the player's visual experience.
[0081] With respect to the above step S130, the above first resource base may be any one of the resource bases displayed in the virtual scene. For example, resource base 1, resource base 2, and resource base 3 are displayed in the virtual scene, and when the player clicks on resource base 1, resource base 1 may be determined as the target resource base.
[0082] The second selection operation is a trigger operation for the player to select a first resource base from among the resource bases displayed in the virtual scene. In a specific embodiment, the second selection operation may include but is not limited to: a press operation, a slide operation, a click operation, a shortcut key operation, a voice command operation, and the like.
[0083] Optionally, the second selection operation may be an operation continuous with the first selection operation, where continuity refers to satisfying a preset continuity condition. For example, the first selection operation and the second selection operation may respectively be two click operations with an interval time less than a preset time, the first selection operation and the second selection operation may respectively be two press operations with an interval time less than a preset time, or the first selection operation and the second selection operation may respectively be two slide operations with an interval time less than a preset time; or, the first selection operation may be a press operation, and the second selection operation may be a slide operation that continues to be applied when the press operation has not ended (in a touch screen terminal device, the player's finger has not been lifted); the above examples may all be regarded as continuous first and second selection operations, and no specific restrictions are imposed on this.
[0084] Preferably, the first selection operation is a pressing operation, and the second selection operation is a first sliding operation continuous with the pressing operation. Based on this, the above step S130 can be specifically implemented through the following steps S131 to S133.
[0085] Step S131: In response to the first sliding operation, an object identifier of a first virtual object associated with a target assigned control is generated at a position corresponding to the operation position of the first sliding operation.
[0086] Step S132: the control object identifier moves following the operation position of the first sliding operation.
[0087] Step S133: Determine a resource base that overlaps with the object identifier as the first resource base.
[0088] The operation position of the first sliding operation refers to the position of the player's finger or the mouse cursor during the movement process, and the position can change in real time following the player's operation.
[0089] Generating an object identifier at a position corresponding to the first sliding operation refers to generating an object identifier near the first sliding operation. The object identifier may be a preset model identifier of the first virtual object associated with the target assignment control. Optionally, the display transparency of the object identifier may be set, for example, to a semi-transparent state, prompting the player that the operation of assigning the virtual object corresponding to the object identifier to a resource base is currently being performed.
[0090] The above-mentioned control of the object identifier to move following the operation position of the first sliding operation refers to achieving an effect similar to causing the object identifier to be adsorbed on the player's finger or mouse cursor, so that the object identifier moves along with the movement of the player's finger until the object identifier overlaps with a resource base and stops moving, and the resource base is determined as the first resource base.
[0091] In a specific embodiment, a resource base that overlaps with the object identifier and the overlapping duration is equal to or greater than the preset duration can be determined as the first resource base. It should be noted that, assuming that after the object identifier overlaps with resource base A and the overlapping duration is equal to or greater than the preset duration, if the player's finger does not leave the graphical user interface, it means that the first sliding operation has not ended. At this time, if the player continues to perform the first sliding operation, the resource base B that overlaps with the object identifier next time and the overlapping duration is equal to or greater than the preset duration can be determined as the first resource base. That is, in a specific embodiment, the resource base where the object identifier overlaps for the last time before the first sliding operation ends is determined as the first resource base.
[0092] It should be noted that, in the embodiment of the present application, responding to a trigger operation means responding immediately when the trigger operation starts, rather than waiting until the trigger operation ends. For example, in the foregoing, when the first selection operation is a click operation, the moment the player touches the electronic screen of the terminal device, the assigned control selected by the click operation can be determined as the target assigned control. When the second selection operation is a click operation, the moment the player touches the electronic screen of the terminal device, the resource base selected by the click operation can be determined as the target resource base.
[0093] With respect to the above-mentioned step S140, in this embodiment, the above-mentioned maintaining the second selection operation means that the second selection operation has not ended; for example, when the second selection operation is a click operation, maintaining the click operation means that the player's finger touching the graphical user interface has not been lifted up; when the second selection operation is a shortcut key operation, maintaining the shortcut key operation means that the player's finger pressing the shortcut key has not been lifted up; when the second selection operation is a hovering operation, maintaining the hovering operation means that the finger or other medium hovering above the first resource base has not left the display position of the first resource base.
[0094] When the second selection operation is not completed, the base attribute information of the first resource base and / or the movement route identifier of the first virtual object to be moved associated with the above-mentioned target assignment control can be displayed in the graphical user interface; optionally, the base attribute information of the first resource base can be displayed at the corresponding position of the first resource base, and the movement route identifier of the first virtual object to be moved can be displayed between the first resource base and the base base to which the first virtual object belongs.
[0095] Among them, the stronghold attribute information of the resource stronghold refers to the description information of the resource stronghold to help players understand the function and purpose of the resource stronghold; in this embodiment, the stronghold attribute information of the resource stronghold may include but is not limited to: the resource type of the virtual resources configured by the resource stronghold, the resource level of the virtual resources configured by the resource stronghold, the distance between the resource stronghold and the base stronghold to which the virtual object belongs, the time required for the virtual object to travel back and forth between the base stronghold and the resource stronghold, the difficulty of mining the virtual resources configured by the resource stronghold, the number of virtual resources configured by the resource stronghold, etc.
[0096] The corresponding position of the above-mentioned first resource base can preferably be near the first resource base, which helps the player to establish the relationship between the first resource base and the displayed base attribute information; alternatively, the corresponding position can also be any blank area in the graphical user interface that is associated with the first resource base, and there is no specific limitation on this.
[0097] Based on this, the base attribute information of the first resource base includes at least one of the following information: the target resource type of the target virtual resource configured by the first resource base, the resource level of the target virtual resource configured by the first resource base, the distance between the first resource base and the base base to which the first virtual object belongs, and the time required for the virtual object to travel back and forth between the base base and the first resource base.
[0098] The above-mentioned moving route identifier is used to prompt the player of the marking information of the moving route of the first virtual object moving from the base stronghold to the first resource stronghold. The moving route identifier may include but is not limited to: a dotted line identifier or an arrow indicator identifier between the base stronghold and the first resource stronghold. The moving route identifier can be displayed in a preset thumbnail map to indicate the moving route of the first virtual object to be moved; optionally, the moving route identifier can also be displayed between the first resource stronghold in the virtual scene and the base stronghold to which the first virtual object belongs. The above-mentioned first virtual object refers to the first virtual object associated with the target assignment control among the virtual objects. As in the previous example, when the target assignment control is assignment control 1, the first virtual object is the large engineering ship associated with assignment control 1. That is, in the control method in the game provided by the present application, while the first resource base is determined according to the second selection operation, the base attribute information of the first resource base and the movement route identification of the first virtual object to be moved can be displayed near the first resource base, allowing the player to judge in real time, intuitively and quickly whether the base attributes of the currently selected first resource base and the movement route of the first virtual object meet the game requirements, thereby reducing the time loss caused by switching game interfaces and improving the efficiency of players assigning virtual objects.
[0099] Step S150, the end of the second selection operation refers to the player stopping applying the second selection operation. For example, when the second selection operation is a click operation, when the player lifts his finger so that the finger is not in contact with the graphical user interface, the click operation is considered to be ended.
[0100] The above-mentioned designated number is the number of virtual objects that are pre-set to be assigned to the first resource base at one time. For example, the designated number can be any integer, such as 1, 2, 3, etc., without specific limitation. When the designated number is 1, then in response to the introduction of the second selection operation, 1 virtual object can be assigned to the first resource base.
[0101] The assigning of the first virtual object to the first resource base refers to controlling the first virtual object to move to the first resource base, so that the first virtual object can perform resource collection behavior at the first resource base.
[0102] It should be noted that, at the end of the second selection operation, the first virtual object is assigned to the first resource location.
[0103] Combine the following Figure 3 And a specific example is provided to further describe the control method in the game provided by this embodiment.
[0104] It should be noted that in Figure 3 In the example shown, the virtual object is a virtual ship and the specified quantity is 1.
[0105] like Figure 3 As shown, the virtual scene 100 is displayed through the interface 2000, and multiple resource bases are displayed in the virtual scene 100, for example, resource base 1, resource base 2 and resource base 3 are displayed; wherein resource base 1 is configured with metal resources, resource base 2 is configured with crystal resources, and resource base 3 is configured with heavy hydrogen resources. In addition, the virtual scene 100 also displays a base base 4 corresponding to the target game account, which is a map point corresponding to the target game account for manufacturing, stationing and / or training virtual objects.
[0106] At the same time, an information panel 5 is also displayed in the interface 2000. The information panel 5 displays three assignment controls associated with different types of virtual ships, namely, an assignment control for large engineering ships, an assignment control for medium engineering ships, and an assignment control for small engineering ships; that is, the assignment control for large engineering ships can be used to assign large engineering ships to a certain resource base, the assignment control for medium engineering ships can be used to assign medium engineering ships to a certain resource base, and the assignment control for small engineering ships can be used to assign small engineering ships to a certain resource base.
[0107] Based on the interface 2000, when the player applies a pressing operation to the assignment control of the medium-sized engineering ship, in response to the pressing operation, the assignment control of the medium-sized engineering ship can be determined as the target assignment control, that is, in response to the pressing operation, the interface 2000 can be switched to the interface 2001, and the assignment control of the medium-sized engineering ship can be highlighted in the interface 2001 (the highlight is indicated by gray filling in the interface 2001).
[0108] Based on the interface 2001, the player currently has a need to collect metal resources. In view of this need, when determining that the target assignment control is an assignment control for a medium-sized engineering ship, the resource base 1 in the virtual scene 100 can be selected as the first resource base, that is, Figure 3 As shown, when the pressing operation is not completed (the player has not lifted his finger), a first sliding operation continuous with the pressing operation is applied, that is, a sliding operation sliding in the direction indicated by the dotted arrow. When the first sliding operation stops sliding at the location of the resource stronghold 1 but the finger is not lifted, the resource stronghold 1 is used as the first resource stronghold. At the same time, the stronghold attribute information 8 corresponding to the resource stronghold 1 is displayed near the resource stronghold 1. The stronghold attribute information 8 describes: the virtual resource configured for the resource stronghold 1 is a medium-sized metal resource, the level of the metal resource is level 2, and the time required for the medium-sized engineering ship selected by the pressing operation to travel between the base stronghold 4 and the resource stronghold 1 is 9 minutes and 36 seconds.
[0109] Based on this, if the player lifts his finger (indicating the end of the first sliding operation), a medium-sized engineering ship associated with the assignment control of the medium-sized engineering ship can be assigned to the resource base 1. Figure 3In the specific example shown, in response to the completion of the first sliding operation on the resource base 1, the interface 2001 can be switched to the interface 2002, and the interface 2002 can display an animation effect of controlling a medium-sized engineering ship 6 located in the base base 4 to move toward the resource base 1 along the route indicated by the route indicator 7, thereby completing the game behavior of quickly assigning the engineering ship to the resource base 1.
[0110] That is, the above embodiment can establish a strong visual connection for players in the process of assigning virtual objects to resource bases by simultaneously displaying resource bases and assignment controls associated with virtual objects of different object types on a graphical user interface, so that players can intuitively view resource bases and each assignment control in the same game interface without switching interfaces, thereby reducing the memory burden and cognitive burden of players. Furthermore, by applying operations to the above assignment controls and resource bases, the operation process of quickly assigning the virtual object corresponding to the assignment control to the resource base can be realized. It can be seen that the operation of assigning virtual objects to resource bases in this application is simple and fast, thereby improving the efficiency of virtual object assignment. In addition, according to the second selection operation, when selecting the first resource base, the base attribute information of the first resource base and the moving route of the first virtual object to be assigned can be conveniently viewed. In this way, players can grasp multiple game information at the same time, and then reasonably and quickly formulate virtual object assignment strategies. Below, the control method in the game provided by this application is further described.
[0111] In an optional specific implementation manner, in the above step S140, "displaying the moving route identifier of the first virtual object associated with the target assignment control to be moved" can be specifically implemented through the following steps S141 to S142.
[0112] Step S141: Displaying a moving route mark of the first virtual object to be moved between the first resource base and the base base to which the first virtual object belongs.
[0113] Step S142: When there is a virtual object of the second camp on the moving route indicated by the moving route identifier, a prompt message is displayed at the location of the virtual object of the second camp; the first virtual object belongs to the first camp; the prompt message is used to prompt that there is a virtual object of the second camp on the moving route, and the first camp and the second camp are hostile camps.
[0114] The second camp may be the camp to which other players belong, or the camp to which virtual objects controlled by non-players belong, that is, the NPC (Non-Player Character) camp.
[0115] The types of the above prompt information may include but are not limited to: text prompt information, icon prompt information, virtual animation prompt information, etc., without specific limitation.
[0116] That is, the purpose of step S141 to step S142 is to display warning information in advance at the location of the enemy object or monster when it is determined that there is an enemy object or a monster on the moving route of the first virtual object to be moved, so as to remind the player that there is an enemy object or a monster here, and help the player to grasp the risks on the current moving route, so that the player can refer to this information to determine the subsequent game strategy, for example, promptly dispatch combat-type ships to clear the enemy objects or monsters.
[0117] Next, combine Figure 4 And a specific example is provided to further explain in detail the control method in the game provided in the embodiment of the present application.
[0118] like Figure 4 As shown, in interface 2003, after the player determines that the assignment control of the medium-sized engineering ship is the target assignment control, a first sliding operation is applied to determine resource base 1 as the first resource base, and the first sliding operation has not ended (the player has not lifted his finger), a moving route mark 7 can be displayed between the base base 4 and the resource base 1 to indicate the route of the virtual object to be assigned; in addition, base attribute information 8 of the resource base 1 is displayed near the resource base 1; in addition, a warning mark 9 can be displayed on the route indicated by the moving route mark 7 to remind the player that there is an enemy object at this position, so that the player can choose whether to dispatch a combat-type ship.
[0119] When the player continues to slide without releasing the pressing state at the resource base 1, the first resource base can be updated, that is, when the player's finger continues to slide along the dotted arrow toward the resource base 10, the interface 2003 can be switched to the interface 2004, in which the base attribute information 8 and the moving route mark 7 corresponding to the resource base 1 are hidden, the base attribute information 11 of the resource base 10 is displayed, and the moving route mark is displayed between the resource base 10 and the base base 4. According to the base attribute information 11, it can be known that the resource base 10 is a base equipped with large crystal resources, and the resource level of the crystal resources configured is level 4. The distance between the resource base 10 and the base base is 30 kilometers, and the time required for the medium-sized engineering ship to travel between the two places is 11 minutes and 36 seconds.
[0120] Based on interface 2004, when the player releases the finger pressure at the resource base 10, that is, ends the first sliding operation, interface 2004 can be switched to interface 2005, and an animation effect of controlling a medium-sized engineering ship 6 located in the base base 4 to move toward the resource base 10 along the route indicated by the route indicator can be displayed in interface 2005, thereby completing the game behavior of quickly assigning the engineering ship to the resource base 10.
[0121] It can be seen that the control method in the game provided by the present application can quickly select the type of ship to be assigned and quickly select the resource base to be mined in the virtual scene through sliding operations, and view the base attribute information of different resource bases in real time. Once the first resource base is selected according to the base attribute information, the assignment of virtual objects can be achieved by simply lifting the finger. The operation is simple and can improve the operating efficiency, thereby improving the efficiency of virtual object assignment.
[0122] It can be seen that before the first sliding operation is completed, that is, before the medium-sized engineering ship is assigned to resource base 1, relevant information can be displayed in advance for player reference to help players subsequently specify game strategies, lower the threshold for players to make decisions, and improve players' gaming experience.
[0123] In some optional embodiments, as described above, virtual objects of different object types have different resource collection levels. For example, the resource collection level corresponding to a small engineering ship may be level 2, that is, the resource level of virtual resources that a small engineering ship can collect is 1 to 2; the resource collection level of a medium-sized engineering ship may be level 5, that is, the resource level of virtual resources that a medium-sized engineering ship can collect is 1 to 5; the resource collection level of a large engineering ship may be level 7, that is, the resource level of virtual resources that a large engineering ship can collect is 1 to 7.
[0124] Based on this, in this optional implementation, in the above step S150, "in response to the end of the second selection operation, assigning a specified number of first virtual objects to the first resource base" can be specifically implemented through the following step S151.
[0125] Step S151: in response to the end of the second selection operation and when a preset condition is satisfied, assigning a specified number of first virtual objects to the first resource location.
[0126] In this embodiment, the preset condition includes at least one of the following examples:
[0127] Example 1: The resource collection level of the first virtual object matches the resource level of the target virtual resource, and virtual objects of different object types have different resource collection levels;
[0128] Example 2: The number of virtual objects associated with the target assignment control and in an idle state is equal to or greater than the specified number;
[0129] Example 3: The number of virtual objects currently accommodated by the first resource base is less than a threshold number of virtual objects that can be accommodated by the first resource base, wherein the threshold number is equal to or greater than the specified number.
[0130] It should be noted that the above examples 1 to 3 can be combined arbitrarily to obtain new preset conditions, which will not be explained in detail.
[0131] The following is an introduction to each of the above examples.
[0132] For the above example 1, it is limited that different types of virtual objects can only collect virtual resources of resource levels that match their resource collection levels.
[0133] Among them, the resource level is the level set for virtual resources of different resource types when setting up the game. The higher the resource level, the stronger the resistance and stability of the virtual resource.
[0134] Optionally, if the resource acquisition level of the first virtual object does not match the resource level of the target virtual resource, the first virtual object is not assigned to the first resource base, and the first resource base and the target assignment control are deselected.
[0135] For example, Figure 3 In the specific example shown, when the target assignment control is the assignment control of a medium-sized engineering ship, its associated virtual object is a medium-sized engineering ship, and the resource collection level of the medium-sized engineering ship is level 5, that is, the medium-sized engineering ship can collect virtual resources of levels 1 to 5, such as Figure 3 As described above, the level of the metal resources configured at the resource base 1 is level 2, which matches the resource collection level of the medium-sized engineering ship. At this time, the medium-sized engineering ship can be assigned to the resource base 1; if the level of the metal resources configured at the resource base 1 is level 6, it does not match the resource collection level of the medium-sized engineering ship, and the medium-sized engineering ship cannot mine virtual resources with a resource level of 6. Therefore, at the end of the second selection operation, the execution of the assignment task is canceled.
[0136] For the above example 2, when the level matching function or the number of accommodation restrictions is not set in the game, it is only necessary to detect whether the preset condition of the example 2 is met, and if so, assign the first virtual object to the first resource base. For example, when the specified number is 1, at least one of the virtual objects associated with the target assignment control is in an idle state, and the specified number of first virtual objects can be successfully assigned to the first resource base.
[0137] For the above example three, the number of virtual objects currently accommodated by the first resource base refers to the number of virtual objects that have been assigned to the first resource base for resource collection. For example, if there are currently 2 engineering ships mining the first resource base, then the number of virtual objects currently accommodated by the first resource base is 2.
[0138] The above quantity threshold is the upper limit of the number of virtual objects that can be accommodated for the resource base, and resource bases configured with virtual resources of different resource levels have different quantity thresholds. For example, when the quantity threshold of virtual objects that can be accommodated by the first resource base is 1, it means that only one virtual object can be assigned to mine resources for the first resource base.
[0139] In this optional embodiment, when assigning a specified number of first virtual objects to the first resource base, it is necessary to first determine whether the number of virtual objects currently accommodated in the first resource base is less than the quantity threshold corresponding to the first resource base. If so, it means that the specified number of first virtual objects can be assigned to the first resource base; if not, it means that the first resource base cannot accommodate the excess virtual objects and the assignment is canceled.
[0140] It should be noted that the specified number of virtual objects assigned to the first resource base at a time needs to be less than or equal to the quantity threshold; for example, when the quantity threshold is 2, the specified number can be 1 or 2, that is, one virtual object or two virtual objects can be assigned to the first resource base at a time, and the specific setting can be based on actual needs.
[0141] In some optional embodiments, the graphical user interface also includes an information overview area, which is used to display the resource collection status of the target game account for virtual resources of various resource types in the game; optionally, the various assignment controls described above and the information overview area can be displayed in the information panel at the same time, without specific limitation.
[0142] At least one of the following information may be displayed in the information overview area: resource type identifiers of various virtual resources pre-set in the game, collection efficiency identifiers of various virtual resources, and quantity identifiers of the number of assigned virtual objects corresponding to various virtual resources.
[0143] The assigned virtual object corresponding to the virtual resource refers to the virtual object currently collecting the virtual resource.
[0144] In this way, the information overview area can intuitively display the relevant information of the target game account collecting virtual resources, which is helpful for players to quickly judge the resource collection situation in the current game and quickly decide on the assignment plan of virtual objects, thereby improving the efficiency of virtual object assignment in the game.
[0145] Among them, the resource type identifier, collection efficiency identifier and quantity identifier can all be text identifiers and / or graphic identifiers; for example, the text identifier of the resource type can be text information such as metal, crystal, deuterium, iron ore, etc.; the text identifier of the collection efficiency can be text information such as "+25,100 / hour", which means that 25,100 virtual resources can be collected in one hour; the text identifier of the object quantity can be text information such as "2", which means that 2 virtual objects have been assigned to collect this type of virtual resources.
[0146] The graphic identifier of the resource type may be any pre-set graphic for distinguishing various types of virtual resources, without specific limitation; the graphic identifier of the acquisition efficiency may be a progress identifier of various styles, such as a progress bar identifier.
[0147] like Figure 5 As shown, in Figure 5 In the interface 2006 shown, in addition to displaying various assigned controls, the information panel 5 also includes an information overview area 12, in which the resource type identifiers of the virtual resources of various resource types set in the game are displayed. For example, when the current game includes three types of virtual resources, namely metal resources, crystal resources and heavy hydrogen resources, the text identifier and graphic identifier of each resource type are respectively displayed in the information overview area; in addition, the current collection efficiency identifier of the metal resource "+25,100 / hour" is displayed at the corresponding position of the resource type identifier of the metal resource, the current collection efficiency identifier of the crystal resource "+2101 / hour" is displayed at the corresponding position of the resource type identifier of the crystal resource, and the current collection efficiency identifier of the heavy hydrogen resource "+1116 / hour" is displayed at the corresponding position of the resource type identifier of the heavy hydrogen resource.
[0148] In addition, multiple lines are displayed under each resource type identifier, and the number of lines is used to indicate the total number of virtual objects currently collecting a certain virtual resource; for example, 4 lines are displayed at the corresponding position of the resource type identifier of metal resources, indicating that the number of virtual objects currently collecting metal resources is 4, 3 lines are displayed at the corresponding position of the resource type identifier of crystal resources, indicating that the number of virtual objects currently collecting crystal resources is 3, and 2 lines are displayed at the corresponding position of the resource type identifier of heavy hydrogen resources, indicating that the number of virtual objects currently collecting heavy hydrogen resources is 2.
[0149] In some optional implementations, when the information overview area is included in the graphical user interface, the control method in the game provided by the present application may further include the following step S160.
[0150] Step S160: While maintaining the second selection operation, display the estimated gain value of the acquisition efficiency of the target virtual resource configured at the first resource base in the information overview area.
[0151] In this optional embodiment, the target virtual resource is a virtual resource configured in the first resource base. For example, when the first resource base is configured with a metal resource, the target virtual resource is a metal resource.
[0152] The above-mentioned estimated gain value is the impact of assigning a specified number of virtual objects associated with the target assignment control to the first resource base on the collection efficiency of the target virtual resources. Generally speaking, the collection efficiency of virtual resources is positively correlated with the number of virtual objects assigned to the virtual resources, that is, the more virtual objects assigned to a certain type of virtual resource, the higher the collection efficiency.
[0153] It should be noted that the impact of the estimated gain value on the collection efficiency can be positive or negative; in the present embodiment, the estimated gain value represented by a positive numerical value may have a positive impact on the collection efficiency, and the estimated gain value represented by a negative numerical value may have a negative impact on the collection efficiency; optionally, the estimated gain value of a positive numerical value may be displayed in green, and the estimated gain value of a negative numerical value may be displayed in red, so as to facilitate players to quickly obtain information.
[0154] Since maintaining the second selection operation only indicates that the corresponding first virtual object will be dispatched to the first resource base, but has not been dispatched yet, in this embodiment, the estimated gain value is used to represent the pre-estimated impact of assigning the first virtual object to the first resource base on the collection efficiency of the target virtual resources.
[0155] In this way, when the player selects the first resource base, the mining income brought by dispatching the first virtual object can be intuitively previewed, which is helpful for the player to quickly determine whether the current assignment plan is reasonable before dispatching the first virtual object to the first resource base.
[0156] In an optional specific embodiment, when an information overview area is included in the graphical user interface, the control method in the game provided by the present application may further include the following step S170.
[0157] Step S170: while maintaining the second selection operation, updating and displaying the quantity identifier of the target quantity of assigned virtual objects corresponding to the target virtual resource according to the specified quantity, the target virtual resource being the virtual resource configured at the first resource base.
[0158] The above-mentioned updating of the number indicator of the target number of assigned virtual objects corresponding to the target virtual resource means updating the number of virtual objects currently mining the target virtual resource at the corresponding position of the target virtual resource displayed in the information overview area according to the number of the first virtual objects to be assigned. For example, assuming that the designated number is 1 and the number of virtual objects currently mining metal resources is 3, when the resource base configured with metal resources is selected by the second selection operation, the number of virtual objects currently mining metal resources can be adjusted to 4.
[0159] In this way, the designated number can be displayed intuitively, that is, the user is shown how many virtual objects can be assigned at present, thereby reducing the difficulty of information acquisition for players and improving the game experience of players.
[0160] Optionally, in a specific embodiment, when the quantity identifier is a graphic identifier, the quantity identifier before the update and the quantity identifier added during the update can be displayed by color distinction, for example, the quantity identifier before the update is displayed in red, and the quantity identifier added during the update is displayed in green.
[0161] like Figure 5 As shown, when the player applies a pressing operation to the assignment control of the medium-sized engineering ship in the interface 2006, the assignment control of the medium-sized engineering ship can be determined as the target assignment control. Further, before the pressing operation is completed, the player continues to follow the route indicated by the dotted arrow and applies a first sliding operation that is continuous with the pressing operation, and when the first sliding operation selects the resource base 1, if the first sliding operation is not completed, the interface 2006 can be switched to the interface 2007, in which the base attribute information 8 corresponding to the resource base 1 is displayed, and the moving route mark of the medium-sized engineering ship to be moved is displayed between the resource base 1 and the base base 4 where the medium-sized engineering ship is stationed;
[0162] According to the base attribute 8, the resource base 1 is equipped with a level 2 medium-sized metal resource. Therefore, the estimated gain value of the metal resource collection efficiency brought by assigning the medium-sized engineering ship to the resource base 1 can also be displayed near the resource type identifier corresponding to the metal resource displayed in the information overview area 12 displayed in the interface 2007. As shown in the interface 2007, the estimated gain value 13 is 2161, that is, when a medium-sized engineering ship is assigned to the resource base 1 for metal resource collection, the collection efficiency of the metal resource can be increased by 2161; at the same time, the number identifier of the target number of assigned virtual objects corresponding to the metal resource can also be updated. For example, by comparing the interface 2006 and the interface 2007, 4 lines are displayed at the corresponding position of the resource type identifier of the metal resource in the interface 2006, indicating that the number of virtual objects currently collecting metal resources is 4, and 5 lines are displayed at the corresponding position of the resource type identifier of the metal resource in the interface 2007, and the newly added lines are displayed separately from the originally displayed lines, indicating that the number of virtual objects currently collecting metal resources can be increased by one.
[0163] In some optional implementations, when the information panel includes an information overview area, the control method in the game provided by the present application may further include the following steps S180 to S190.
[0164] Step S180: while maintaining the second selection operation, determining the collection recommendation degree of the target virtual resource configured in the first resource base.
[0165] Step S190: displaying a recommendation identifier corresponding to the collection recommendation degree at a position corresponding to the target resource type identifier displayed in the information overview area; the target resource type identifier is a resource type identifier corresponding to the target virtual resource.
[0166] The collection recommendation degree is used to indicate the recommendation degree for collecting the target virtual resource configured at the first resource base, in other words, to indicate whether the collection of the target virtual resource is recommended. Exemplarily, the recommendation degree may include but is not limited to: three recommendation degrees: recommended, sub-recommended, and not recommended; or, multiple recommendation degrees may be set, which will not be described in detail.
[0167] The above-mentioned recommendation mark refers to information used to display the corresponding recommendation level, and the recommendation mark may include a text mark and / or a graphic mark, which is not specifically limited. Figure 6 As shown, Figure 6 A schematic diagram of exemplary recommendation marks is provided, including a recommendation mark of a recommended degree, a recommendation mark of a non-recommended degree, and a recommendation mark of a sub-recommended degree.
[0168] In some optional specific embodiments, "determining the collection recommendation degree of the target virtual resource configured at the first resource base" in the above step S180 can be specifically implemented through the following steps S10 to S11.
[0169] Step S10: Determine the collection progress corresponding to each of the virtual resources.
[0170] Step S11: determining the collection recommendation degree of the target virtual resource configured at the first resource base according to the collection progress corresponding to each of the virtual resources; the collection progress is negatively correlated with the collection recommendation degree.
[0171] Among them, the collection progress corresponding to virtual resources refers to the degree or state achieved in the process of mining virtual resources in the game.
[0172] In an optional specific embodiment, the collection progress can be represented by the time progress of resource collection, or the proportion of collected resources.
[0173] The time progress can be expressed by the remaining collection time, which is the difference between the preset collection time and the collection time. For example, it takes 20 minutes to collect 100 ores. The collection has started for 10 minutes, and it will take another 10 minutes to complete the collection. The time progress is 10 minutes remaining.
[0174] The proportion of collected resources refers to the proportion of the collected quantity of a certain virtual resource to the preset collectible quantity threshold of the virtual resource; among which, the collected quantity refers to the number of virtual resources currently obtained, and the collectible quantity threshold refers to the upper limit of the number of virtual resources that can be collected; for example, the total amount of resources that can be collected currently is 1500, and 580 have been collected, then 580 / 1500 can be used to represent the collection progress.
[0175] In this embodiment, preferably, the collected quantity corresponding to one type of virtual resource and the collectible quantity threshold corresponding to the virtual resource can be obtained; further, the ratio of the collected quantity corresponding to the virtual resource to the quantity threshold is determined, and the ratio is determined as the collection progress corresponding to the virtual resource.
[0176] It should be noted that, in this embodiment, the collection progress can be calculated for virtual resources of different resource types in sequence according to the above calculation method to obtain the collection progress corresponding to the virtual resources of different resource types.
[0177] Optionally, in this embodiment, the collection progress and the collection recommendation degree are negatively correlated, that is, the faster the collection progress, the lower the recommendation degree, and the slower the collection progress, the higher the recommendation degree.
[0178] For example, as shown in Table 1, Table 1 shows an example of the acquisition progress of various virtual resources.
[0179] Table 1 Examples of recommended levels of various virtual resources
[0180]
[0181]
[0182] As shown in Table 1, when the virtual resources are metal resources, crystal resources and heavy hydrogen resources, the collected quantity corresponding to the metal resources is 3000, and the collectible quantity threshold is 9000, then the current collection progress of the metal resources is about 33%; the collected quantity corresponding to the crystal resources is 2101, and the collectible quantity threshold is 6000, then the current collection progress of the crystal resources is about 35%; the collected quantity corresponding to the heavy hydrogen resources is 1150, and the collectible quantity threshold is 4500, then the current collection progress of the crystal resources is about 26%.
[0183] According to the negative correlation between collection progress and collection recommendation, the most recommended resource to be collected is the heavy hydrogen resource with the slowest collection progress, followed by metal resources, and the least recommended is crystal resources.
[0184] Combined with the example provided in Table 1, the recommended level for metal resource collection is sub-recommended. Figure 5 In the illustrated interface 2007 , when the resource base 1 configured with metal resources is determined as the first resource base through the first sliding operation, a recommendation mark 14 corresponding to the secondary recommendation degree may be displayed near the resource type mark of the metal resource displayed in the information overview area 12 .
[0185] So far, the scheme for assigning virtual objects to a first resource base using the control method in the game provided by the present application has been described. Next, the batch assignment method in the control method in the game provided by the present application will be described in detail.
[0186] In some optional embodiments, the graphical user interface may further include a batch assignment area; that is, optionally, in addition to displaying multiple assignment controls and including an information overview area in the information panel described above, the information panel may also include a batch assignment area, in which multiple selection controls may be displayed, each selection control being associated with a virtual object of a different object type, that is, the selection control is used to select a virtual object of the corresponding object type to which it is associated.
[0187] As exemplified above, the game may include small engineering ships, medium engineering ships and large engineering ships. Therefore, in the specific example, three selection controls may be displayed in the batch assignment area, each selection control being associated with the small engineering ship, the medium engineering ship and the large engineering ship respectively.
[0188] It should be noted that, in this embodiment, the number of the selection controls corresponds to the number of the assignment controls described above, that is, when three assignment controls are displayed in the information panel, three selection controls are displayed in the batch assignment area, and each selection control corresponds one-to-one to each assignment control.
[0189] like Figure 7 As shown, in Figure 7 In the specific example shown, three types of virtual objects are set, which are engineering ships, and the object types are small, medium and large; in the information panel 5 displayed in the interface 2008, there are three assignment controls, an information overview area 12 and a batch assignment area 15; wherein, the three assignment controls are respectively the assignment control corresponding to the small engineering ship, the assignment control corresponding to the medium engineering ship and the assignment control corresponding to the large engineering ship. Based on this, three selection controls can be displayed in the batch assignment area, and each selection control is associated with the small engineering ship, the medium engineering ship and the large engineering ship, respectively.
[0190] Based on the above application scenarios, the control method in the game provided by the present application may also include the following steps S210 to S230.
[0191] Step S210: In response to the third selection operation, determining at least one target selection control among the selection controls.
[0192] Step S220: In response to a second sliding operation starting from the batch assignment area, determining at least one second resource location among the plurality of resource locations according to the second sliding operation;
[0193] Step S230: In response to the end of the second sliding operation, a specified number of second virtual objects are respectively assigned to each second resource point, and the second virtual objects are associated with the target selection control.
[0194] In this optional embodiment, the third selection operation may include, but is not limited to: a pressing operation, a sliding operation, a clicking operation, a shortcut key operation, a voice command operation, etc.
[0195] It should be noted that the number of target selection controls can be one or more, that is, the third selection operation can determine one or more target selection controls at a time, while the first selection operation described above can only determine one target assignment control at a time.
[0196] For example, when the third selection operation is a click operation, the click operation can be applied to the selection control corresponding to the small engineering ship, the selection control corresponding to the medium engineering ship, and the selection control corresponding to the large engineering ship in turn. In this way, the selection control corresponding to the small engineering ship, the selection control corresponding to the medium engineering ship, and the selection control corresponding to the large engineering ship can all be used as target selection controls at the same time.
[0197] With respect to the above step S220 , the above second sliding operation starting from the batch assignment area refers to a sliding operation whose starting position is located inside the batch assignment area.
[0198] The second resource base is the target resource base to be mined selected according to the second sliding operation; one or more resource bases can be selected as the second resource bases according to the second sliding operation, that is, the number of the second resource bases can be one or more.
[0199] The relevant description of the above step S230 can refer to the description of the above step S150, which will not be repeated here. The difference is that in this step S230, a specified number of second virtual objects can be assigned to each of the multiple second resource bases.
[0200] For example, when three second resource bases are determined, the three second resource bases are resource base 1 equipped with metal resources, resource base 2 equipped with crystal resources, and resource base 3 equipped with heavy hydrogen resources; in the target selection control is the selection control corresponding to the small engineering ship, when the specified quantity is 1, then one small engineering ship can be assigned to resource base 1, resource base 2 and resource base 3 respectively.
[0201] Optionally, when assigning a specified number of second virtual objects to each second resource base, it is also necessary to consider: whether the resource acquisition level of the second virtual object matches the resource level of the virtual resources configured in the second resource base, whether the number of virtual objects associated with the target selection control and in an idle state is equal to or greater than the specified number, and / or whether the number of virtual objects currently accommodated by each second resource base is less than the threshold value of the number of virtual objects that each second resource base can accommodate, etc. Only when any one or more of the above conditions are met can the specified number of second virtual objects be assigned to each second resource base. For the introduction of each specific condition, please refer to the description in the previous step S151, which will not be repeated here.
[0202] In some optional implementations, in the above step S220, "determining at least one second resource base among the multiple resource bases according to the second sliding operation" can be specifically implemented through the following steps S221 to S222.
[0203] Step S221: According to the second sliding operation, a target acquisition area in the virtual scene is determined.
[0204] Step S222: Determine at least one resource base located in the target collection area as a second resource base.
[0205] The target collection area refers to the area range of the virtual resources to be collected determined by the second sliding operation.
[0206] In a specific embodiment, when the operation position of the second sliding operation is located in the virtual scene, a target circle is determined with the operation position of the second sliding operation as the center and a preset length as the radius, and the scene range of the virtual scene within the target circle is determined as the target acquisition area.
[0207] Alternatively, in another specific embodiment, when the operation position of the second sliding operation is located in the virtual scene, a target circle with a preset diameter is determined, the operation position of the second sliding operation is located on the boundary of the target circle, and the scene range of the virtual scene within the target circle is determined as the target acquisition area.
[0208] Alternatively, when the operation position of the second sliding operation is located in the virtual scene, the operation position of the second sliding operation is used as the geometric center and the preset length is used as the side length to determine the target polygon, and the scene range of the virtual scene located in the target polygon is determined as the target acquisition area. There is no specific limitation.
[0209] After the target collection area is determined, the target collection area can be displayed distinctively on the graphical user interface, that is, the target collection area can have a highlighted area boundary, and the area boundary is used to distinguish the inside and outside of the target collection area, so that the player can accurately determine which resource bases are located inside the target collection area and which resource bases are located outside the target collection area. The area boundary of the target collection area can be highlighted, or it can also have a display effect, which can be one of a smoke effect, a lighting effect, etc. For example, the area boundary of the target collection area can be displayed by a circle of lighter smoke. This embodiment does not specifically limit the way to distinguish the target collection area.
[0210] In some optional embodiments, in the above step S230, "in response to the end of the second sliding operation, assigning a specified number of second virtual objects to each second resource base" can be specifically implemented through the following steps S231 to S232.
[0211] Step S231: In response to the end of the second sliding operation, at least one target second resource base among the second resource bases is determined; the resource levels of the virtual resources configured in each target second resource base are respectively matched with the resource collection levels of the second virtual objects associated with any one or more target selection controls, and the resource collection levels of the second virtual objects associated with different target selection controls are different.
[0212] Step S232: assigning a specified number of second virtual objects to each target second resource base.
[0213] In this optional embodiment, the matching relationship between the resource acquisition level of virtual objects of different object types and the resource level configured in the resource base is further considered to achieve that virtual objects capable of acquiring virtual resources of different resource levels can be assigned to resource bases of different resource levels.
[0214] In a specific embodiment, a resource base whose resource level of the configured virtual resources matches the resource collection level of the virtual object associated with any one or more target selection controls in each second resource base is determined as the target second resource base. As shown in Table 2, Table 2 provides an example of the matching relationship between the resource level of the second resource base and the resource collection level of the virtual object.
[0215] Table 2 Example of matching relationship between the resource level of the second resource base and the resource collection level of the virtual object
[0216]
[0217] As shown in Table 2, when the player simultaneously selects the selection control 1 associated with the small engineering ship and the selection control 2 associated with the medium engineering ship as the target selection control. As mentioned above, the resource collection level of the small engineering ship is level 2, which means that the small engineering ship can only collect virtual resources of level 1 to 2, and the resource collection level of the medium engineering ship is level 5, which means that the medium engineering ship can collect virtual resources of level 1 to 5.
[0218] In addition, it is assumed that the second resource bases located in the target collection area include resource base 1, resource base 2 and resource base 3, wherein resource base 1 is configured with virtual resources of resource level 2, resource base 2 is configured with virtual resources of resource level 4, and resource base 3 is configured with virtual resources of resource level 6;
[0219] It can be found that the virtual resources configured in resource base 1 can be collected by: selecting the small engineering ship associated with control 1, or selecting the medium engineering ship associated with control 2; the virtual resources configured in resource base 2 can only be collected by: selecting the medium engineering ship associated with control 2, and the resource collection level of the small engineering ship is not enough to collect the virtual resources configured in the resource base 2; in addition, the small engineering ship and medium engineering ship associated with the currently selected target selection control cannot collect the level 6 virtual resources configured in resource base 3. Therefore, it is currently impossible to assign virtual objects to resource base 3.
[0220] In summary, at least one type of engineering ship can collect virtual resources configured in resource base 1 or resource base 2, so resource base 1 and resource base 2 can be determined as the target second resource base, but resource base 3 cannot be used as the target second resource base.
[0221] After determining the target second resource base, assuming the specified number is 1, a small engineering ship or a medium engineering ship can be randomly assigned to resource base 1, and a medium engineering ship can be assigned to resource base 2.
[0222] In some optional embodiments, the step of "assigning a specified number of second virtual objects to each target second resource base" in the above step S232 can be specifically implemented in the following manner.
[0223] As described in the above step S231, the resource level of the virtual resources configured in a target second resource base may match the resource collection level of the second virtual object associated with one or more target selection controls;
[0224] It should be noted that when screening the target second resource base, if the resource level of the virtual resources configured by a target second resource base can only match the resource collection level of the second virtual object associated with a target selection control, the second virtual object with the resource collection level will be directly assigned to the target second resource base; as shown in the specific example in Table 2, the resource level of the virtual resources configured by resource base 2 only matches the resource collection level of a medium-sized engineering ship, then the medium-sized engineering ship can be directly assigned to resource base 2.
[0225] If the resource level of the virtual resources configured in a certain target second resource base matches the resource collection level of the second virtual objects associated with multiple target selection controls, in short, the resource level of the target second resource base matches the multiple resource collection levels, which means that virtual objects with different resource collection levels can be randomly assigned to the target second resource base. In this case, a target resource collection level of the virtual objects that can be currently assigned to the target second resource base can be further determined, so that the virtual objects corresponding to the target collection level are assigned to the target second resource base;
[0226] Optionally, when the resource level of the target second resource base matches multiple resource collection levels, it can be specifically implemented through the following steps S2320 to S2321.
[0227] Step S2320: Determine a target resource collection level corresponding to the designated second resource base among multiple resource collection levels that match the resource level of the designated second resource base; the designated second resource base is a target second resource base whose resource level of the configured virtual resources matches the resource collection level of the second virtual object of the object type associated with multiple target selection controls.
[0228] Step S2321: assigning a specified number of target second virtual objects to a specified second resource base, wherein the target second virtual objects have a target resource collection level.
[0229] It should be noted that the above-mentioned designated second resource base is: a target second resource base whose resource level matches the resource collection level of the second virtual object associated with multiple target selection controls, that is, a target second resource base whose resource level corresponds to multiple resource collection levels.
[0230] For example, in the specific example shown in Table 2, the resource collection levels of the engineering ships that match the resource level of resource base 1 are level 2 and level 5. Therefore, it is necessary to determine the most reasonable object type for assignment from the small engineering ships with a resource collection level of level 2 and the medium engineering ships with a resource collection level of level 5. In this way, the assignment of virtual objects can be controlled, and reasonable assignment of virtual objects of different object types can be achieved, thereby improving the cost-effectiveness of mining.
[0231] In an optional specific embodiment, the above step S2320 can be implemented specifically through the following steps S1 to S3.
[0232] Step S1: sorting multiple resource acquisition levels from low to high to obtain a sorting result.
[0233] Step S2: when the number of second virtual objects corresponding to the resource collection level ranked at the ith position in the sorting result is not 0, the resource collection level ranked at the ith position is determined as the target resource collection level;
[0234] Step S3: When the number of second virtual objects corresponding to the resource acquisition level ranked in the i-th position in the sorting result is 0, set i=i+1, and execute steps S2~S3; wherein, i traverses 1~N, i is an integer, N is an integer equal to or greater than 2, and N is the number of multiple resource acquisition levels that match the resource level of the virtual resources configured at the specified second resource base.
[0235] In this embodiment, N is an integer equal to or greater than 2, indicating the specific number of multiple resource acquisition levels whose resource acquisition levels match the resource levels of the virtual resources configured at the designated second resource base.
[0236] For example, as shown in the example in Table 2 above, there are two resource acquisition levels that match the resource level of the level 2 virtual resources configured in resource base 1: level 2 and level 5. That is, the value of N is 2, and the resource acquisition levels are sorted from low to high, and the sorting results are: level 2, level 5.
[0237] When i is 1, check whether the number of small engineering ships ranked first with a resource collection level of 2 is 0. If it is 0, the resource collection level 5 is used as the target resource collection level. If the number of medium-sized engineering ships with a resource collection level of 5 is not 0, assign the medium-sized engineering ship to resource base 1. If the number of medium-sized engineering ships is 0, engineering ships cannot be assigned to resource base 1.
[0238] That is, during batch assignment in this embodiment, when both virtual objects with lower resource acquisition levels and virtual objects with higher resource acquisition levels can be assigned to a resource base at the same time, virtual objects with lower resource acquisition levels are assigned first. When the number of virtual objects with lower resource acquisition levels and in idle state is 0, virtual objects with higher resource acquisition levels are assigned.
[0239] In some optional implementations, the batch assignment method in the control method in the game provided by the present application may also include the following step S240.
[0240] Step S240: According to the third selection operation, highlight the target selection control.
[0241] Among them, highlighting means distinguishing the target selection control from other selection controls. Exemplarily, the highlighting method may include but is not limited to: highlighting, strobing, and strobing, etc., which are not specifically limited.
[0242] In some optional implementations, while maintaining the second sliding operation, the base attribute information of each of the second resource bases is displayed at a corresponding position of each of the second resource bases.
[0243] Optionally, while maintaining the second sliding operation, a moving route mark of the second virtual object to be moved is displayed between each of the second resource bases and the base base to which the second virtual object belongs.
[0244] Please refer to the previous description for details, which will not be repeated here.
[0245] Combine the following Figure 7 And a specific example is provided to describe the above batch assignment method in detail.
[0246] like Figure 7 As shown, based on the interface 2008, three selection controls are displayed in the batch assignment area 15, each selection control is associated with a small engineering ship, a medium engineering ship and a large engineering ship respectively. When the player applies a click operation to the selection control associated with the small engineering ship and the selection control associated with the medium engineering ship respectively, the selection control associated with the small engineering ship and the selection control associated with the medium engineering ship can be determined as the target selection control. As shown in the interface 2008, the selection control associated with the small engineering ship and the selection control associated with the medium engineering ship are highlighted to indicate that the selection control associated with the small engineering ship and the selection control associated with the medium engineering ship are selected.
[0247] After selecting the target selection control, the player can start applying a second sliding operation in the batch assignment area 15, as shown in interface 2008, applying a second sliding operation along the path indicated by the dotted arrow. When the operation position of the second sliding operation is located in the virtual scene 100 and the second sliding operation is not completed (the player does not lift his finger), the interface 2008 is switched to the interface 2009, and the area mark 16 for indicating the target collection area is displayed in the interface 2009. The area mark 16 contains multiple resource nodes. In this specific example, the area mark 16 contains the resource nodes in the target collection area. Taking resource base 1, resource base 10 and resource base 17 as examples, resource base 1, resource base 10 and resource base 17 can all be used as second resource bases; and the base attribute information 8 corresponding to resource base 1, the base attribute information 11 corresponding to resource base 10 and the base attribute information 18 corresponding to resource base 17 are displayed respectively; wherein, resource base 1 is configured with metal resources of resource level 2, resource base 10 is configured with crystal resources of resource level 4, and resource base 17 is configured with heavy hydrogen resources of resource level 6;
[0248] Based on the interface 2009, if the player lifts his finger (indicating the end of the second sliding operation), since the target selection control is the selection control associated with the small engineering ship and the selection control associated with the medium engineering ship, the resource collection level of the small engineering ship is level 2, and the resource collection level of the medium engineering ship is level 5.
[0249] Then, the resource collection level that matches the resource level of resource base 1 is the resource collection level of small engineering ships and the resource collection level corresponding to medium engineering ships; the resource collection level that matches the resource level of resource base 10 is only the resource collection level of medium engineering ships; there is no resource collection level that matches the resource level of resource base 10; therefore, assuming that when the number of small engineering ships in idle state is not 0, small engineering ships are assigned to resource base 1 first, medium engineering ships are assigned to resource base 10, and engineering ships are not assigned to resource base 17; that is. When the player lifts his finger (when the second sliding operation ends), the interface 2009 can be switched to the interface 2010, in which the animation effects of the medium engineering ship moving to the resource base 10 and the small engineering ship moving to the resource base 1 are displayed.
[0250] It can be seen that through the above method, it is possible to realize batch assignment of virtual objects to multiple resource bases in the target collection area. In addition, the relevant information of multiple resource bases and the corresponding assignment information can be viewed simultaneously before assignment, which can greatly reduce the assignment time of multi-ship mining. The operation is simple and fast, which can improve the efficiency of assignment of virtual objects in the game.
[0251] So far, the method provided by the present embodiment has been described, which can specifically include two modes: individual assignment for a certain resource base and batch assignment. In the individual assignment mode, by simultaneously displaying the resource base and the assignment controls associated with virtual objects of different object types on the graphical user interface, a strong visual connection can be established for the player in the process of assigning virtual objects to the resource base, so that the player can intuitively view the resource base and each assignment control in the same game interface at the same time without switching interfaces, thereby reducing the player's memory burden and cognitive burden. Furthermore, by applying operations to the above-mentioned assignment controls and resource bases, the operation process of quickly assigning the virtual object corresponding to the assignment control to the resource base can be realized. It can be seen that the operation of assigning virtual objects to resource bases in the present application is simple and fast, thereby improving the efficiency of virtual object assignment. In addition, according to the second selection operation, when selecting the first resource base, the base attribute information of the first resource base and the movement route of the first virtual object to be assigned can be conveniently viewed. In this way, the player can grasp a variety of game information at the same time, and then reasonably and quickly formulate a virtual object assignment strategy;
[0252] In addition, in the batch assignment mode, the game function of batch assigning virtual objects to multiple resource bases in a certain area can be realized. The relevant information and corresponding assignment information of multiple resource bases can be viewed at the same time, which can greatly reduce the assignment time of multiple ships for mining. The operation is simple and fast, which can improve the efficiency of assigning virtual objects in the game.
[0253] It should be noted that Figures 3 to 7 The dotted lines in the figure are fictitious lines for the sake of ease of understanding and do not exist on the graphical user interface displayed on the terminal device.
[0254] In addition, it can be understood that the above is similar to Figures 3 to 7 The size, appearance, layout, display text and other information of each element in the schematic diagram are exemplary and are not intended to limit the actual graphical user interface.
[0255] It should be noted that in each drawing, the same pattern represents the same element. Therefore, each pattern is labeled when it first appears, and when it appears in subsequent drawings, although it is not labeled, the description in the previous drawings can be referred to.
[0256] Corresponding to the control method in the game provided in the embodiment of the present application, the embodiment of the present application also provides a control device 3000 in the game, such as Figure 8 As shown, the apparatus 3000 provides a graphical user interface through a terminal device, wherein the graphical user interface displays at least a portion of a virtual scene corresponding to a target game account, wherein the virtual scene includes a plurality of resource bases, wherein the plurality of resource bases include resource bases configured with virtual resources of different resource types. Specifically, the apparatus 3000 includes: a display unit 3001, a determination unit 3002, and an assignment unit 3003;
[0257] The display unit 3001 is used to display a plurality of assigned controls through a graphical user interface, each assigned control being associated with a virtual object of a different object type;
[0258] A determining unit 3002, configured to determine a target assigned control among the assigned controls in response to a first selection operation;
[0259] The determining unit 3002 is further configured to determine a first resource location among the resource locations in response to the second selection operation;
[0260] The display unit 3001 is further configured to display, while maintaining the second selection operation, the site attribute information of the first resource site and / or the movement route identifier of the first virtual object associated with the target assignment control to be moved;
[0261] The assigning unit 3003 is configured to assign a specified number of first virtual objects to the first resource location in response to the completion of the second selection operation.
[0262] Optionally, the base attribute information of the first resource base displayed by the display unit 3001 includes at least one of the following information: the target resource type of the target virtual resource configured by the first resource base, the resource level of the target virtual resource configured by the first resource base, the distance between the first resource base and the base base to which the first virtual object belongs, and the time required for the virtual object to travel back and forth between the base base and the first resource base.
[0263] Optionally, the display unit 3001 is also used to display a moving route identifier for the first virtual object to be moved between the first resource base and the base base to which the first virtual object belongs; when there is a virtual object of the second camp on the moving route indicated by the moving route identifier, prompt information is displayed at the location of the virtual object of the second camp; the first virtual object belongs to the first camp, and the prompt information is used to prompt that there is a virtual object of the second camp on the moving route, and the first camp and the second camp are hostile camps.
[0264] Optionally, the assignment unit 3003 is specifically used to assign a specified number of first virtual objects to the first resource base in response to the end of the second selection operation and when a preset condition is met; the preset condition includes at least one of the following: the resource acquisition level of the first virtual object matches the resource level of the target virtual resource, and the resource acquisition levels of virtual objects of different object types are different; the number of virtual objects associated with the target assignment control and in an idle state is equal to or greater than a specified number; the number of virtual objects currently accommodated in the first resource base is less than a threshold number of virtual objects that can be accommodated in the first resource base, and the threshold number is equal to or greater than a specified number.
[0265] Optionally, the display unit 3001 is further configured to display, at corresponding positions of each assigned control, the number of virtual objects in an idle state associated with each assigned control.
[0266] Optionally, the graphical user interface includes an information overview area; the display unit 3001 is also used to display at least one of the following information through the information overview area: resource type identifiers of multiple virtual resources pre-set in the game, collection efficiency identifiers of various virtual resources, and quantity identifiers of the number of assigned virtual objects corresponding to various virtual resources.
[0267] Optionally, the display unit 3001 is further configured to display, in the information overview area, an estimated gain value of the acquisition efficiency of the target virtual resource configured at the first resource base while maintaining the second selection operation.
[0268] Optionally, the display unit 3001 is further used to update the quantity identifier of the target quantity of assigned virtual objects corresponding to the target virtual resource according to the specified quantity while maintaining the second selection operation, and the target virtual resource is the virtual resource configured at the first resource base.
[0269] Optionally, the display unit 3001 is also used to determine the collection recommendation degree of the target virtual resource configured at the first resource base while maintaining the second selection operation; display the recommendation identifier corresponding to the collection recommendation degree at the corresponding position of the target resource type identifier displayed in the information overview area; the target resource type identifier is the resource type identifier corresponding to the target virtual resource.
[0270] Optionally, the display unit 3001 is specifically used to determine the collection progress corresponding to various virtual resources; determine the collection recommendation degree of the target virtual resource configured at the first resource base according to the collection progress corresponding to various virtual resources; the collection progress is negatively correlated with the collection recommendation degree.
[0271] Optionally, the display unit 3001 is specifically used to obtain the collected quantity corresponding to a virtual resource and the collectible quantity threshold; determine the ratio of the collected quantity corresponding to a virtual resource to the quantity threshold, and determine the ratio as the collection progress corresponding to the virtual resource.
[0272] Optionally, the display unit 3001 is specifically used for the second selection operation being a first sliding operation continuous with the first selection operation; the determination unit 3002 is specifically used for generating, in response to the first sliding operation, an object identifier of a first virtual object associated with a target assignment control at a position corresponding to the operating position of the first sliding operation; controlling the object identifier to move following the operating position of the first sliding operation; and determining a resource base overlapping with the object identifier as the first resource base.
[0273] Optionally, the display unit 3001 is further configured to display a plurality of selection controls in the batch assignment area through a graphical user interface, each selection control being associated with a virtual object of a different object type;
[0274] The determining unit 3002 is further configured to determine at least one target selection control among the selection controls in response to the third selection operation;
[0275] The determining unit 3002 is further configured to respond to a second sliding operation starting from the batch assignment area and determine at least one second resource location among the plurality of resource locations according to the second sliding operation;
[0276] The assigning unit 3003 is further configured to assign a specified number of second virtual objects to each second resource point in response to the end of the second sliding operation, wherein the second virtual objects are associated with the target selection control.
[0277] Optionally, the determination unit 3002 is further specifically configured to determine a target collection area in the virtual scene according to the second sliding operation; and determine at least one resource base located in the target collection area as a second resource base.
[0278] Optionally, the assignment unit 3003 is further specifically used to determine at least one target second resource base among the second resource bases in response to the end of the second sliding operation; the resource level of the virtual resources configured at each target second resource base is matched with the resource collection level of the second virtual object associated with any one or more target selection controls, and the resource collection levels of the second virtual objects associated with different target selection controls are different; and a specified number of second virtual objects are assigned to each target second resource base.
[0279] Optionally, the assignment unit 3003 is further specifically used to determine a target resource collection level corresponding to the designated second resource base among multiple resource collection levels that match the resource level of the designated second resource base; the designated second resource base is a target second resource base whose resource level of the configured virtual resources matches the resource collection level of the second virtual object of the object type associated with multiple target selection controls; and assign a specified number of target second virtual objects to the designated target second resource base, the target second virtual objects having the target resource collection level.
[0280] Optionally, the assigning unit 3003 is further configured to execute the following steps S1 to S3:
[0281] S1: Sort multiple resource collection levels from low to high to obtain a sorting result.
[0282] S2: when the number of second virtual objects corresponding to the resource collection level ranked at the ith position in the sorting result is not 0, the resource collection level ranked at the ith position is determined as the target resource collection level;
[0283] S3: When the number of second virtual objects corresponding to the resource acquisition level ranked at the i-th position in the sorting result is 0, set i=i+1, and execute steps S2~S3; wherein, i traverses 1~N, i is an integer, N is an integer equal to or greater than 2, and N is the number of multiple resource acquisition levels that match the resource level of the virtual resources configured at the specified second resource base.
[0284] Optionally, the display unit 3001 is further used to highlight the target selection control according to the third selection operation.
[0285] Optionally, the display unit 3001 is further configured to display the site attribute information of each second resource site at a corresponding position of each second resource site while maintaining the second sliding operation.
[0286] Corresponding to the control method in a game provided in the embodiment of the present application, the embodiment of the present application also provides an electronic device 4000 for implementing the control method in the game, such as Fig. 9 As shown, the electronic device 4000 includes: a processor 4001; and a memory 4002, which is used to store a program of a control method in a game. After the device is powered on and the program of the control method in the game is run by the processor, a graphical user interface is provided through a terminal device, and at least part of a virtual scene corresponding to a target game account is displayed in the graphical user interface. The virtual scene includes a plurality of resource bases, and the plurality of resource bases include resource bases configured with virtual resources of different resource types. Any implementation of the control method in the above game can be executed, for example, the following steps can be executed:
[0287] Displaying a plurality of assignment controls through a graphical user interface, each assignment control being associated with a virtual object of a different object type;
[0288] In response to a first selection operation, determining a target assigned control among the assigned controls;
[0289] In response to the second selection operation, determining a first resource location among the resource locations;
[0290] When the second selection operation is maintained, the site attribute information of the first resource site and / or the moving route identifier of the first virtual object to be moved associated with the target assignment control are displayed;
[0291] In response to the end of the second selection operation, a specified number of first virtual objects are assigned to the first resource location; the first virtual objects are associated with a target assignment control.
[0292] Corresponding to the control method in the game provided by the embodiment of the present application, the embodiment of the present application further provides a computer-readable storage medium, which stores a program of the control method in the game, and the program is executed by a processor, and a graphical user interface is provided through a terminal device, and the graphical user interface displays at least a portion of a virtual scene corresponding to a target game account, and the virtual scene includes multiple resource bases, and the multiple resource bases include resource bases configured with virtual resources of different resource types, and any implementation of the control method in the above game can be executed, for example, the following steps can be executed:
[0293] Displaying a plurality of assignment controls through a graphical user interface, each assignment control being associated with a virtual object of a different object type;
[0294] In response to a first selection operation, determining a target assigned control among the assigned controls;
[0295] In response to the second selection operation, determining a first resource location among the resource locations;
[0296] When the second selection operation is maintained, the site attribute information of the first resource site and / or the moving route identifier of the first virtual object to be moved associated with the target assignment control are displayed;
[0297] In response to the end of the second selection operation, a specified number of first virtual objects are assigned to the first resource location; the first virtual objects are associated with a target assignment control.
[0298] It should be noted that for the detailed description of the device, electronic device and computer-readable storage medium provided in the embodiments of the present application, reference can be made to the relevant description of the control method embodiment in the game provided in the embodiments of the present application, which will not be repeated here.
[0299] Although the present application is disclosed as above in the form of a preferred embodiment, it is not intended to limit the present application. Any technical personnel in this field may make possible changes and modifications without departing from the spirit and scope of the present application. Therefore, the scope of protection of the present application shall be based on the scope defined by the claims of the present application.
[0300] In a typical configuration, an electronic device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0301] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0302] 1. Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be used to store information by any method or technology. Information can be computer-readable operations, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined in this article, computer-readable media does not include non-transitory media such as modulated data signals and carrier waves.
[0303] 2. Those skilled in the art should understand that the embodiments of the present application can be provided as methods, systems or computer program products. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0304] Although the present application is disclosed as above in the form of a preferred embodiment, it is not intended to limit the present application. Any technical personnel in this field may make possible changes and modifications without departing from the spirit and scope of the present application. Therefore, the scope of protection of the present application shall be based on the scope defined by the claims of the present application.
Claims
1. A control method in a game, characterized in that: Providing a graphical user interface through a terminal device, wherein the graphical user interface displays at least a portion of a virtual scene corresponding to a target game account, wherein the virtual scene includes a plurality of resource bases, wherein the plurality of resource bases include resource bases configured with virtual resources of different resource types; the method includes: Displaying a plurality of assignment controls through the graphical user interface, each of the assignment controls is respectively associated with a virtual object of a different object type; In response to a first selection operation, determining a target assigned control among the assigned controls; In response to a second selection operation, determining a first resource location among the resource locations; While maintaining the second selection operation, displaying the base attribute information of the first resource base and / or the moving route identifier of the first virtual object associated with the target assignment control to be moved; In response to the completion of the second selection operation, a specified number of the first virtual objects are assigned to the first resource location.
2. The method according to claim 1, characterized in that: The base attribute information includes at least one of the following information: the target resource type of the target virtual resource configured by the first resource base, the resource level of the target virtual resource configured by the first resource base, the distance between the first resource base and the base base to which the first virtual object belongs, and the time required for the virtual object to travel back and forth between the base base and the first resource base.
3. The method according to claim 1, characterized in that The displaying of the moving route identifier of the first virtual object to be moved associated with the target assignment control includes: Displaying a moving route mark of the first virtual object to be moved between the first resource base and the base base to which the first virtual object belongs; When there is a virtual object of the second camp on the moving route indicated by the moving route identifier, prompt information is displayed at the location of the virtual object of the second camp; the first virtual object belongs to the first camp; the prompt information is used to prompt that there is a virtual object of the second camp on the moving route, and the first camp and the second camp are hostile camps.
4. The method according to claim 2, characterized in that: In response to the end of the second selection operation, assigning a specified number of the first virtual objects to the first resource location comprises: In response to the end of the second selection operation and when a preset condition is satisfied, assigning a specified number of first virtual objects to the first resource base; The preset condition includes at least one of the following: The resource acquisition level of the first virtual object matches the resource level of the target virtual resource, and virtual objects of different object types have different resource acquisition levels; The number of virtual objects associated with the target assignment control and in an idle state is equal to or greater than the specified number; The number of virtual objects currently accommodated by the first resource base is less than a threshold number of virtual objects that can be accommodated by the first resource base, and the threshold number is equal to or greater than the specified number.
5. The method according to claim 1, characterized in that: The number of virtual objects in an idle state associated with each of the assignment controls is displayed at a corresponding position of each of the assignment controls.
6. The method according to claim 1, characterized in that The graphical user interface includes an information overview area; the information overview area includes at least one of the following information: resource type identifiers of the various virtual resources pre-set in the game, collection efficiency identifiers of various virtual resources, and quantity identifiers of the number of assigned virtual objects corresponding to various virtual resources.
7. The method according to claim 6, characterized in that The method further comprises: When the second selection operation is maintained, an estimated gain value of the collection efficiency of the target virtual resource configured at the first resource base is displayed in the information overview area.
8. The method according to claim 6, characterized in that The method further comprises: While maintaining the second selection operation, the quantity indicator of the target quantity of assigned virtual objects corresponding to the target virtual resource is updated and displayed according to the specified quantity, and the target virtual resource is the virtual resource configured in the first resource base.
9. The method according to claim 6, characterized in that The method further comprises: While maintaining the second selection operation, determining a collection recommendation degree of the target virtual resource configured at the first resource base; The recommendation identifier corresponding to the collection recommendation degree is displayed at a position corresponding to the target resource type identifier displayed in the information overview area; the target resource type identifier is a resource type identifier corresponding to the target virtual resource.
10. The method according to claim 9, characterized in that The determining of the collection recommendation degree of the target virtual resource configured at the first resource base includes: Determine the collection progress corresponding to each of the virtual resources; According to the collection progress corresponding to each of the virtual resources, the collection recommendation degree of the target virtual resource configured at the first resource base is determined; the collection progress is negatively correlated with the collection recommendation degree.
11. The method according to claim 10, characterized in that The step of determining the collection progress corresponding to one of the various virtual resources comprises: Obtaining the collected quantity corresponding to the virtual resource and the collectible quantity threshold; A ratio of the collected quantity corresponding to the one virtual resource to the quantity threshold is determined, and the ratio is determined as a collection progress corresponding to the one virtual resource.
12. The method according to claim 1, characterized in that The second selection operation is a first sliding operation continuous with the first selection operation; In response to the second selection operation, determining a first resource location among the resource locations includes: In response to the first sliding operation, generating an object identifier of a first virtual object associated with the target assignment control at a position corresponding to an operation position of the first sliding operation; Controlling the object identifier to move following the operation position of the first sliding operation; A resource base that overlaps with the object identifier is determined as the first resource base.
13. The method according to claim 1, characterized in that The graphical user interface includes a batch assignment area, the batch assignment area includes a plurality of selection controls, each of the selection controls is associated with the virtual object of a different object type; the method further includes: In response to a third selection operation, determining at least one target selection control among the selection controls; In response to a second sliding operation initiated from the batch assignment area, determining at least one second resource location among the plurality of resource locations according to the second sliding operation; In response to the end of the second sliding operation, the specified number of second virtual objects are respectively assigned to each of the second resource locations, and the second virtual objects are associated with the target selection control.
14. The method according to claim 13, characterized in that The determining at least one second resource location among the plurality of resource locations according to the second sliding operation includes: Determining a target acquisition area in the virtual scene according to the second sliding operation; At least one of the resource bases located in the target collection area is determined as the second resource base.
15. The method according to claim 13, characterized in that In response to the end of the second sliding operation, assigning the specified number of second virtual objects to each of the second resource points includes: In response to the end of the second sliding operation, at least one target second resource base among the second resource bases is determined; wherein the resource level of the virtual resources configured in each of the target second resource bases matches the resource collection level of the second virtual object associated with any one or more of the target selection controls, and the resource collection levels of the second virtual objects associated with different target selection controls are different; The designated number of second virtual objects are respectively assigned to each of the target second resource locations.
16. The method according to claim 15, characterized in that The assigning the specified number of second virtual objects to each of the target second resource bases includes: Determine a target resource collection level corresponding to the designated second resource base among a plurality of resource collection levels that match the resource level of the designated second resource base; the designated second resource base is a target second resource base whose resource level of the configured virtual resource matches the resource collection level of the second virtual object of the object type associated with the plurality of target selection controls; The designated number of target second virtual objects are assigned to the designated target second resource stronghold, and the target second virtual objects have the target resource collection level.
17. The method according to claim 16, characterized in that The step of determining a target resource collection level corresponding to the designated target second resource base from among a plurality of resource collection levels that match the resource level of the designated target second resource base comprises: S1: sort multiple resource collection levels from low to high to obtain a sorting result; S2: when the number of second virtual objects corresponding to the resource collection level ranked at the ith position in the sorting result is not 0, determining the resource collection level ranked at the ith position as the target resource collection level; S3: When the number of second virtual objects corresponding to the resource acquisition level ranked in the i-th position in the sorting result is 0, set i=i+1 and execute steps S2~S3; wherein, i traverses 1~N, i is an integer, N is an integer equal to or greater than 2, and N is the number of the multiple resource acquisition levels that match the resource level of the virtual resources configured in the specified second resource base.
18. The method according to claim 13, characterized in that The method further comprises: When the second sliding operation is maintained, the site attribute information of each of the second resource sites is displayed at the corresponding position of each of the second resource sites.
19. A control device in a game, characterized in that: Providing a graphical user interface through a terminal device, wherein the graphical user interface displays at least a portion of a virtual scene corresponding to a target game account, wherein the virtual scene includes a plurality of resource bases, wherein the plurality of resource bases include resource bases configured with virtual resources of different resource types; the apparatus includes: a display unit, a determination unit, and an assignment unit; The display unit is used to display a plurality of assigned controls through the graphical user interface, each of the assigned controls being associated with a virtual object of a different object type; The determining unit is used to determine a target assigned control among the assigned controls in response to the first selection operation; The determining unit is further configured to determine a first resource base among the resource bases in response to a second selection operation; The display unit is further configured to display, while maintaining the second selection operation, the base attribute information of the first resource base and / or the moving route identifier of the first virtual object associated with the target assignment control to be moved; The assigning unit is configured to assign a specified number of the first virtual objects to the first resource location in response to completion of the second selection operation.
20. An electronic device, characterized in that: include: processor; as well as The memory is used to store a data processing program. After the electronic device is powered on and the program is run by the processor, the method according to any one of claims 1 to 18 is executed.
21. A computer-readable storage medium, characterized in that: A data processing program is stored, and the program is run by a processor to execute the method according to any one of claims 1 to 18.
Citation Information
Patent Citations
Game control method and device, electronic equipment and storage medium
CN116764205A
Game interaction method, device and equipment and computer readable storage medium
CN117462954A
Virtual object control method and apparatus, device and storage medium
WO2021218516A1