Control method and device in game, electronic equipment and readable storage medium

By displaying the waiting animation or target interaction environment according to the virtual resource package level in the game, and displaying virtual resources when the threshold is reached, the problems of insufficient expressiveness and low interactivity during the opening of the virtual resource package are solved, and the fun of the game and the sense of player participation are improved.

CN119587978APending Publication Date: 2025-03-11NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411907393.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-23
Publication Date
2025-03-11

AI Technical Summary

Technical Problem

In the game, while the player waits for the target virtual resource package to be opened, the existing technology virtual resource package is insufficient to expressively and has few interactions, resulting in the game being unattractive.

Method used

By displaying the waiting motion or target interaction environment matching the target virtual resource package level in the graphical user interface, the virtual resources in the target virtual resource package are displayed in response to the displayed duration of the waiting motion or target interactive environment reaching the threshold.

Benefits of technology

It improves the fun of players during the waiting process, increases interaction and sense of participation, making the waiting process more interesting. At the same time, through the target interactive environment, players can perform target game activities during the waiting process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119587978A_ABST
    Figure CN119587978A_ABST
Patent Text Reader

Abstract

The invention discloses a control method and device in a game, electronic equipment and a readable storage medium, and the method comprises the steps that a virtual scene corresponding to a first game account in the game is displayed through a graphical user interface, the virtual scene comprises at least one virtual resource packet in a closed state, and the virtual resource packet comprises a plurality of virtual resources; in response to the resource packet opening instruction, determining a target virtual resource packet in the virtual resource packets; the resource bundle level of the target virtual resource bundle is determined, a waiting dynamic effect or a target interaction environment matched with the resource bundle level is displayed, the waiting dynamic effect is used for prompting that the target virtual resource bundle is to be opened, and the target interaction environment is an interaction environment used for executing the target game activity; and in response to waiting for the displayed duration of the dynamic effect or the target interaction environment to reach the first duration threshold, displaying a plurality of virtual resources in the target virtual resource packet in the graphical user interface. According to the method, the game fun of opening the virtual resource package can be improved, and the boring feeling is reduced.
Need to check novelty before this filing date? Find Prior Art

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] Currently, multiple virtual resource packages, i.e., "treasure chests", can be pre-placed in the virtual scene of the game. Players can open the virtual resource packages to obtain virtual resources in the virtual resource packages. For example, the virtual resource packages may include weapons, skins, medicines, materials and other resources.

[0003] In some games, when a player performs an opening operation on a virtual resource package, an opening progress bar of the virtual resource package is usually displayed, through which the opening progress of the virtual resource package is shown. When the progress of the opening progress bar reaches a preset progress, the virtual resource package is opened and the virtual resources in the virtual resource package are displayed.

[0004] The entire process of opening the virtual resource package is fast, but the opening of the virtual resource package is not expressive enough and there is little interaction with the player. The player is bored while waiting for the virtual resource package to be opened, which makes the game unattractive. Summary of the invention

[0005] In view of this, the present application provides a control method, device, electronic device and computer-readable storage medium in a game, which can enhance the game fun of the player while waiting for the target virtual resource package to be opened.

[0006] In a first aspect, an embodiment of the present application provides a control method in a game, the method comprising:

[0007] Displaying a virtual scene corresponding to the first game account in the game through a graphical user interface, wherein the virtual scene includes at least one virtual resource package in a closed state, and the virtual resource package includes a plurality of virtual resources;

[0008] In response to a resource package opening instruction, determining a target virtual resource package in the virtual resource package;

[0009] Determine the resource package level of the target virtual resource package, and display a waiting animation or a target interactive environment that matches the resource package level, wherein the waiting animation is used to prompt that the target virtual resource package is to be opened, and the target interactive environment is an interactive environment for executing a target game activity;

[0010] In response to the waiting animation or the displayed duration of the target interactive environment reaching a first duration threshold, the plurality of virtual resources in the target virtual resource package are displayed in the graphical user interface.

[0011] In a second aspect, an embodiment of the present application provides a control device in a game, the device comprising:

[0012] Display unit and determination unit;

[0013] The display unit is used to display a virtual scene corresponding to the first game account in the game through a graphical user interface, wherein the virtual scene includes at least one virtual resource package in a closed state, and the virtual resource package includes a plurality of virtual resources;

[0014] The determining unit is used to determine a target virtual resource package in the virtual resource package in response to a resource package opening instruction;

[0015] The display unit is further used to determine the resource package level of the target virtual resource package, and display a waiting animation or a target interactive environment that matches the resource package level, wherein the waiting animation is used to prompt that the target virtual resource package is to be opened, and the target interactive environment is an interactive environment for executing a target game activity;

[0016] The display unit is further configured to display the multiple virtual resources in the target virtual resource package in the graphical user interface in response to the display duration of the waiting animation or the target interactive environment reaching a first duration threshold.

[0017] In a third aspect, an embodiment of the present application provides an electronic device, including:

[0018] Processor; and

[0019] 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.

[0020] 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.

[0021] The control method in the game provided by the present application displays a virtual scene corresponding to a first game account in the game through a graphical user interface, wherein the virtual scene includes at least one virtual resource package in a closed state, and the virtual resource package includes multiple virtual resources; in response to a resource package opening instruction, a target virtual resource package in the virtual resource package is determined; the resource package level of the target virtual resource package is determined, and a waiting animation or a target interactive environment matching the resource package level is displayed, wherein the waiting animation is used to prompt that the target virtual resource package is to be opened, and the target interactive environment is an interactive environment for executing a target game activity; in response to the display time of the waiting animation or the target interactive environment reaching a first time threshold, multiple virtual resources in the target virtual resource package are displayed in the graphical user interface.

[0022] In the above manner, while the player is waiting for the target virtual resource package to open, a waiting animation or target interactive environment that matches the resource package level of the target virtual resource package is displayed. The player can reduce the boredom of the player while waiting for the target virtual resource package to open by watching the waiting animation or target interactive environment, making the waiting process more interesting. In addition, by displaying the target interactive environment in which the target game activity can be executed, the player can execute the target game activity during the waiting process, thereby enhancing the player's interactivity and sense of participation during the waiting process. In short, the game fun of the player while waiting for the target virtual resource package to open can be enhanced. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] 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.

[0024] Figure 1 A schematic diagram of an interface for opening a virtual resource package in the related technology provided in an embodiment of the present application;

[0025] Figure 2 A schematic diagram of another example interface for opening a virtual resource package in the related technology provided in an embodiment of the present application;

[0026] Figure 3 A schematic diagram of a system for implementing a control method in a game provided in an embodiment of the present application;

[0027] Figure 4 A flowchart of an example of a control method in a game provided in an embodiment of the present application;

[0028] Figure 5 A schematic diagram of displaying the opening progress indicator provided in an embodiment of the present application;

[0029] Figure 6 A schematic diagram showing an example of a display of a waiting animation effect provided in an embodiment of the present application;

[0030] Figure 7 Another example of a display schematic diagram of a waiting animation provided in an embodiment of the present application;

[0031] Figure 8 A schematic diagram showing an example of a display target interaction environment provided in an embodiment of the present application;

[0032] Fig. 9 A schematic diagram showing another example of a display target interaction environment provided in an embodiment of the present application;

[0033] Fig.10 A schematic diagram showing another example of a display target interaction environment provided in an embodiment of the present application;

[0034] Fig.11 A schematic diagram of the structure of a control device in a game provided by an embodiment of the present application;

[0035] Fig.12 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

[0036] 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.

[0037] 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.

[0038] 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.

[0039] 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.

[0040] Before describing the implementation methods of the present application in detail, the related technologies are first further introduced.

[0041] like Figure 1 As shown, a virtual scene 100 is displayed in a graphical user interface 1000, and a virtual resource package 10 and a virtual resource package 11 are displayed in the virtual scene 100. When a player clicks on the virtual resource package 10, in response to the click operation, the graphical user interface 1000 can be switched to a graphical user interface 1001. An opening progress bar 12 is displayed above the virtual resource package 10 displayed in the graphical user interface 1001, and the opening progress of the virtual resource package is displayed through the opening progress bar 12. When the opening progress indicated by the opening progress bar 12 reaches a preset progress, the graphical user interface 1001 can be switched to a graphical user interface 1002, and the virtual resource package 10 in an opened state can be displayed in the graphical user interface 1002, and the virtual resources in the virtual resource package can be displayed. For example, the virtual resource package displayed in the graphical user interface 1002 includes resource 1, resource 2 and resource 3.

[0042] The entire process of opening the virtual resource package is fast, but the opening of the virtual resource package is not expressive enough and there is little interaction with the player. The player is bored while waiting for the virtual resource package to be opened, which makes the game unattractive.

[0043] Or, if Figure 2 As shown, Figure 2 The process of opening virtual resource packages in other games is provided. As shown in Figure 2, based on the graphical user interface 1000, when the player applies a click operation to the virtual resource package 10, in response to the click operation, the graphical user interface 1000 can be switched to the graphical user interface 1003, and the resource search interface 13 is displayed in the graphical user interface 1003, that is, after the resource search interface 13 is displayed, the virtual resources searched from the virtual resource package 10 are displayed one by one in each grid of the resource search interface. For example, if the ring resource in the virtual resource package is first searched, the ring resource can be displayed in the first grid in the resource search interface 13, and then the search mark is displayed in the second grid to indicate that the second virtual resource in the virtual resource package 10 is being searched.

[0044] Figure 2 In the shown method of opening the virtual resource package, the resource search interface largely blocks the game scene 100, which is not conducive to the player's observation of the field of vision in the game. In addition, this method of opening the virtual resource package lacks expressiveness and has little interaction with the player. The player is bored while waiting to open the virtual resource package, which makes the game lack of attractiveness.

[0045] 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.

[0046] 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.

[0047] 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.

[0048] 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.

[0049] 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.

[0050] For example, in combination with the above introduction, Figure 1 A game system 2000 for implementing a control method in a game provided by an embodiment of the present application is shown. The game system 2000 may include at least one terminal 2001, at least one server 2002, at least one database 2003, and a network. The terminal 2001 held by the player can be connected to the 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.

[0051] In the above-mentioned game system 2000, the terminal 2001 is used to install and run the game application. In some cases, the game application may not be installed in advance in the terminal 2001, 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 manipulate the virtual character corresponding to the game account to participate in the game. When the player logs in to the game application, the terminal 2001 will send a login request to the server 2002, and the server 2002 will verify the game account used by the player. At the same time, the server 2002 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 2001. In the process of the player participating in the game through the game application, the terminal 2001 and the server 2002 interact with each other, and the terminal 2001 sends various information to the server 2002. The server 2002 determines the display data of the terminal 2001 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 2001, so as to display the display data sent by the server 2002 to the player through the terminal 2001.

[0052] In possible application scenarios, different terminals 2001 may be served by different servers 2002. Therefore, in order to distinguish the servers 2002 corresponding to different game terminals 2001, the first and second modes will be used for description when involved in the embodiments of the present application. In fact, the servers 2002 corresponding to different game terminals 2001 may be the same server 2002. Therefore, without distinguishing between the first and the second, it can be understood that the terminals 2001 corresponding to the virtual characters in the same game scene are served by the same server 2002.

[0053] In addition, when the game system 2000 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 2000 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.

[0054] It should be noted that Figure 1 The game system diagram shown is only an example. The game system 2000 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.

[0055] 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.

[0056] 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.

[0057] 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.

[0058] like Figure 4 As shown, Figure 4 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 S210 to S240.

[0059] Step S210: displaying a virtual scene corresponding to the first game account in the game through a graphical user interface, wherein the virtual scene includes at least one virtual resource package in a closed state, and the virtual resource package includes a plurality of virtual resources.

[0060] Step S220: In response to the resource package opening instruction, determine a target virtual resource package in the virtual resource package.

[0061] Step S230: Determine the resource package level of the target virtual resource package, and display a waiting animation or a target interactive environment that matches the resource package level, wherein the waiting animation is used to prompt that the target virtual resource package is to be opened, and the target interactive environment is an interactive environment for executing target game activities.

[0062] Step S240: In response to the waiting animation or the display time of the target interactive environment reaching a first time threshold, displaying the multiple virtual resources in the target virtual resource package in the graphical user interface.

[0063] Next, the above steps S210 to S240 are respectively described in detail.

[0064] In step S210, the terminal displays the virtual scene of the game through a graphical user interface, which is a visual representation and operation interface for players to interact with the virtual game, including the game scene of the virtual game, control components, social elements, etc., which are used to show the style of the game world and guide user operations.

[0065] 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.

[0066] It should be noted that the virtual scene is obtained by shooting with a virtual camera at a specific viewing angle. Optionally, the virtual camera automatically follows the virtual object in the virtual environment, that is, when the position of the virtual object in the virtual environment changes, the virtual camera follows the position of the virtual object in the virtual environment and changes simultaneously, and the virtual camera is always within a preset distance range of the virtual object in the virtual environment. Optionally, during the automatic following process, the relative position of the virtual camera model and the virtual object does not change.

[0067] A virtual camera refers to a three-dimensional model located around a virtual object in a virtual environment. When the first-person perspective is adopted, the virtual camera is located near the head of the virtual object or at the head of the virtual object; when the third-person perspective is adopted, the virtual camera can be located behind the virtual object and bound to the virtual object, or can be located at any position at a preset distance from the virtual object. Through the virtual camera, the virtual object located in the virtual environment can be observed from different angles. Optionally, when the third-person perspective is a first-person over-the-shoulder perspective, the virtual camera is located behind the virtual object (for example, the head and shoulders of the virtual character). Optionally, in addition to the first-person perspective and the third-person perspective, the perspective also includes other perspectives, such as a bird's-eye view; when the bird's-eye view is adopted, the virtual camera can be located above the head of the virtual object. The bird's-eye view is a perspective for observing the virtual environment from an aerial bird's-eye view. There is no limitation on this. In this embodiment, the first-person perspective is used as an example to introduce the control method in the game. Optionally, the virtual camera will not be actually displayed in the virtual environment, that is, the virtual camera is not displayed in the virtual environment displayed by the graphical user interface.

[0068] In this embodiment, the game account refers to a personal account registered and used by the player in the game, which is usually used to save the player's personal information, game progress, virtual items, achievements and other data. Usually, a game account controls a virtual object in the game, and the virtual scene displayed in the graphical user interface is a scene image obtained by a virtual camera shooting the virtual object controlled by the game account. In this embodiment, the above-mentioned first game account can be understood as any game account participating in the above-mentioned game. The virtual scene of the game displayed in the above-mentioned graphical user interface is a scene image obtained by a virtual camera shooting the virtual object controlled by the first game account.

[0069] The above-mentioned virtual objects refer to models used to represent the player's image in the game, and may include but are not limited to character models, animal models, plant models, mechanical models, etc., which are not specifically limited in this embodiment.

[0070] The above-mentioned virtual resource pack refers to a container for storing multiple virtual resources that is pre-set in the virtual scene or discarded by other players, and is usually presented in the form of a box in the virtual scene. Players can open the virtual resource pack to obtain the virtual resources in the virtual resource pack, and then use the virtual resources to advance the game progress, where the virtual resources are game props (such as potions, weapons, skins, etc.), experience points, game skills, etc. set in the game, and there is no specific restriction.

[0071] It is understandable that the virtual scene may include a virtual resource package in a closed state and / or a virtual resource package in an open state. A virtual resource package in a closed state means that the virtual resource package has not been opened by the player and includes multiple virtual resources; an open virtual resource package means that the virtual resource package is opened by the player and does not include any virtual resources. Figure 1 In the graphical user interface 1001 shown in FIG. 1 , the virtual resource package 10 is in a closed state, while the virtual resource package 10 shown in the graphical user interface 1002 is in an open state.

[0072] With respect to the above step S220, the resource package opening instruction refers to a processing instruction for selecting a target virtual resource package from the virtual scene and opening it. The target virtual resource package is the virtual resource package to be opened by the player in each virtual resource package, and the number of the target virtual resource packages may include one or more, which is not specifically limited in this embodiment.

[0073] Optionally, the resource package opening instruction may be generated in the following exemplary manner:

[0074] Example 1: In response to the first trigger operation, the resource package opening instruction is generated.

[0075] Example 2: In response to the distance between the virtual object controlled by the first game account and at least one first virtual resource package among the virtual resource packages being less than a preset distance, the resource package opening instruction is generated.

[0076] The above exemplary methods are described in detail below.

[0077] For the above example 1, the above first trigger operation may include but is not limited to: click operation, sliding operation, pressing operation, voice command operation, air gesture operation, shortcut key operation, etc., which are not specifically limited in this embodiment. In response to the first trigger operation, a resource package opening instruction may be generated, and the resource package opening instruction is used to open the virtual resource package selected by the first trigger operation; further, based on the example 1, in response to the resource package opening instruction generated by the first trigger operation, the virtual resource package selected by the first trigger operation is determined as the target virtual resource package. For example, when a player selects a virtual resource package by a click operation, the virtual resource package selected by the click operation can be opened in response to the click operation.

[0078] For the above-mentioned Example 2, as described above, the first game account can control a virtual object. When the player controls the virtual object to move in the virtual scene, and the distance between the virtual object and at least one first virtual resource package among the virtual resource packages displayed in the virtual scene is less than a preset distance, a resource package opening instruction can be generated, and the resource package opening instruction is used to open the above-mentioned at least one first virtual resource package. Further, based on Example 2, in response to the resource package opening instruction generated by the game behavior that the distance between the virtual object controlled by the first game account and at least one first virtual resource package among the virtual resource packages is less than a preset distance, the first virtual resource package can be determined as the target virtual resource package.

[0079] It can be seen from the above examples 1 and 2 that resource package opening instructions generated in different ways determine different target virtual resource packages, which is not specifically limited in this embodiment.

[0080] With respect to the above step S230, after the target virtual resource package is determined based on the above step S220, the purpose of this step S230 is to determine the resource package level of the target virtual resource package and display a waiting animation or a target interactive environment that matches the resource package level.

[0081] It is understandable that in the game, virtual resource packages of different levels can be set up, and virtual resource packages of different levels can include virtual resources in different level ranges, which are used to increase the depth and complexity of the game and improve the game fun of players.

[0082] Optionally, in this embodiment, different resource package levels of virtual resource packages can be distinguished by color. For example, the virtual resource packages preset in the game may include: gold virtual resource package, red virtual resource package, purple virtual resource package, and blue virtual resource package, and their levels in the game are ranked as follows: gold virtual resource package>red virtual resource package>purple virtual resource package>blue virtual resource package; that is, a gold virtual resource package can only include gold-quality virtual resources, a red virtual resource package can only include red-quality virtual resources, a purple virtual resource package can only include purple-quality virtual resources, and a blue virtual resource package can only include blue-quality virtual resources.

[0083] Alternatively, in some optional embodiments, the resource package level of the virtual resource package is used to indicate the highest level of virtual resources that can be accommodated, that is, the higher the resource package level of the virtual resource package, the higher the maximum resource level of the virtual resources it accommodates. For example, when the resource package level of the virtual resource package is level 2, the resource levels of virtual resources that can be accommodated in the virtual resource package are level 1 to 2; when the resource package level of the virtual resource package is level 5, the resource levels of virtual resources that can be accommodated in the virtual resource package of level 5 are level 1 to 5, and so on.

[0084] This embodiment does not impose any specific limitation on the specific form of the resource package level.

[0085] The above-mentioned waiting animation refers to the animation performance used to prompt that the target virtual resource package is to be opened, that is, after the target virtual resource package is selected, the animation performance is displayed before the target virtual resource package is opened to make the target virtual resource package in the open state. Optionally, in this embodiment, the waiting animation may include but is not limited to: rolling lottery animation, animation performance of virtual objects performing target actions, preset transition animation performances, etc., and there is no specific restriction. Compared with the method of only displaying a progress bar in the related technology introduced above, by displaying the waiting animation, the player's visual experience can be improved, the player's boredom during the waiting process can be reduced, and the waiting process can be made more interesting. For the specific waiting animation, please refer to the detailed description below, which will not be described in detail here.

[0086] The above-mentioned target interactive environment is an interactive environment for players to perform target game activities, which refers to a collection of all elements in the game that players can interact with to perform target game activities, including but not limited to physical environment, UI interface, non-player characters, items, etc. In this embodiment, the target game activities may include but are not limited to: scratch game activities, password unlocking game activities, word guessing game activities, etc. By displaying the target interactive environment in which the target game activities can be executed in the graphical user interface, players can perform the target game activities through the target interactive environment while waiting for the target virtual resource package to open, rather than simply watching virtual animations or progress bars, which can further improve the interactivity and participation of players, reduce the boredom of players waiting, and make the waiting process more interesting, that is, increase the fun of the game and the sense of accomplishment of players.

[0087] It should be noted that, in the present embodiment, whether to display a waiting animation or a target interaction environment can be determined according to the resource package level of the target virtual resource package. Specifically, when the resource package level of the target virtual resource package is higher, a waiting animation is displayed, and when the resource package level of the target virtual resource package is lower, a target interaction environment is displayed; for example, as in the above example, when the resource package level of the virtual resource package in the game includes a gold virtual resource package, a red virtual resource package, a purple virtual resource package and a blue virtual resource package, their levels in the game are ranked as follows: gold virtual resource package>red virtual resource package>purple virtual resource package>blue virtual resource package. At this time, when the target virtual resource package is a gold virtual resource package and a red virtual resource package, a preset waiting animation can be displayed, and when the target virtual resource package is a purple virtual resource package and a blue virtual resource package, a preset target interaction environment can be displayed; or they can be interchangeable, or different waiting animations or target interaction environments are matched for each target virtual resource package of different levels, and the present embodiment does not specifically limit this.

[0088] In this way, by matching different waiting animations or target interaction environments for target virtual resource packages of different levels during the waiting process, the player's sense of surprise when opening the target virtual resource package can be increased, enriching the player's visual experience.

[0089] With respect to the above step S240, the above displayed duration refers to the duration that the waiting animation or target interactive environment has been currently displayed in the graphical user interface. The above first duration threshold refers to the preset maximum duration that the waiting animation or target interactive environment can be displayed; when the displayed duration of the waiting animation or target interactive environment reaches the first duration threshold, multiple virtual resources in the target virtual resource package are displayed in the graphical user interface.

[0090] Optionally, when displaying multiple virtual resources in the target virtual resource package, the waiting animation or target interaction environment can be hidden, that is, the waiting animation or target interaction environment is invisible; in other words, the waiting animation or target interaction environment is displayed one by one with the multiple virtual resources in the target virtual resource package, and they are not displayed at the same time; this can reduce the visual cognitive burden of the player. Of course, in some embodiments, the waiting animation or target interaction environment and the multiple virtual resources in the target virtual resource package can also be displayed at the same time, and there is no limitation on this.

[0091] It should be noted that, in this embodiment, regardless of whether the player interacts with the target interactive environment while waiting for the animation effect or the target interactive environment, as long as the display time of the waiting animation effect or the target interactive environment reaches the first time threshold, the multiple virtual resources in the target virtual resource package are immediately displayed.

[0092] It can be seen that through the above method, while the player is waiting for the target virtual resource package to open, a waiting animation or a target interaction environment that matches the resource package level of the target virtual resource package is displayed. By watching the waiting animation or the target interaction environment, the player can reduce the boredom of waiting for the target virtual resource package to open, making the waiting process more interesting. In addition, by displaying the target interaction environment in which the target game activity can be executed, the player can execute the target game activity during the waiting process, which enhances the player's interactivity and sense of participation during the waiting process. In short, it can enhance the player's game fun while waiting for the target virtual resource package to open.

[0093] The following is a further detailed description of the control method in the game provided by this application.

[0094] In some optional implementations, the control method in the game provided by the present application may also include the following steps S250 to S260.

[0095] Step S250: When the display time of the waiting animation or the target interaction environment does not reach the first time threshold, in response to the target interaction operation acting on the waiting animation or the target interaction environment, a second time threshold is determined according to the target interaction operation; the second time threshold is less than or equal to the first time threshold.

[0096] Step S260: In response to the display time of the waiting animation or the target interactive environment reaching a second time threshold, displaying multiple virtual resources in the target virtual resource package in the graphical user interface.

[0097] When the second duration threshold is less than or equal to the first duration threshold, it can be understood that the total time required to open the target virtual resource package can be shortened through the target interaction operation. That is, in this optional implementation, when the displayed time of the waiting animation or the target interaction environment does not reach the first duration threshold, the player can adjust the total time required to open the target virtual resource package from the first duration threshold to the second duration threshold through the target interaction operation, and the second duration threshold is less than or equal to the first duration threshold. Therefore, the total time required to open the target virtual resource package can be reduced to speed up the opening of the target virtual resource package and reduce the waiting time of the player. In this way, the interactivity and participation in the process of waiting for the target virtual resource package to open can be further enhanced, reducing the boredom of the player waiting and increasing the fun and attractiveness of the game.

[0098] When the above-mentioned waiting animation is displayed, the above-mentioned target interactive operation may include but is not limited to: sliding operation, long press operation, re-press operation, double-click operation, voice command operation, air gesture, etc. for the displayed waiting animation, without specific restrictions; when the above-mentioned target interactive environment is displayed, the target interactive operation may be an interactive operation to complete the target game activity indicated by the target interactive environment, which may be determined based on the target game activity and the target interactive environment, without specific restrictions. For example, when the target game activity is a scratch-off game activity, the target interactive operation may be a scratch-off operation; when the target game activity is a word guessing game activity, the target interactive operation may be a word filling operation.

[0099] The specific implementation of determining the second duration threshold according to the target interactive operation can be referred to in detail below and will not be described in detail here.

[0100] In some optional embodiments, the control method in the game provided by the present application may also include the following step S270.

[0101] Step S270: When the target virtual resource package is determined, the opening progress indicator corresponding to the target virtual resource package is displayed, and the opening progress indicator is used to indicate the opening progress of the target virtual resource package; the opening progress indicator includes at least one of the following: a linear progress bar indicator, a circular progress bar indicator, a remaining display time, and a progress label.

[0102] The remaining display time refers to the difference between the preset display time (first time threshold) corresponding to the waiting animation or target interaction environment and the current display time.

[0103] like Figure 5 As shown, Figure 5 Several examples of opening progress indicators are provided, among which: Figure 5 (a) is an example of a linear progress bar logo. Figure 5 (b) is an example of a circular progress bar logo. Figure 5 (c) is an example of the remaining display time. Figure 5 (d) is an example of a progress label.

[0104] It should be noted that the above Figure 5 The various opening progress indicators shown can be used in combination with each other. For example, Figure 5 The linear progress bar shown in (a) is Figure 5 The remaining display time shown in (c).

[0105] In some optional implementations, the control method in the game provided in the embodiment of the present application may also include the following step S280.

[0106] Step S280: When the display time of the waiting animation or the target interactive environment reaches a first time threshold, the display state of the target virtual resource package is adjusted from a closed state to an open state.

[0107] Among them, for the introduction of the closed state and the open state, please refer to the previous description and will not be repeated here.

[0108] like Figure 1 As shown, Figure 1 In the graphical user interface 1001 shown in FIG. 1 , the virtual resource package 10 is in a closed state, while the virtual resource package 10 shown in the graphical user interface 1002 is in an open state.

[0109] In this way, the player's visual experience can be improved and the realism of the opening process of the virtual resource package can be enhanced.

[0110] In some optional implementations, the control method in the game provided in the embodiment of the present application may also include the following steps S290 to S2100.

[0111] Step S290: Determine a target location corresponding to a resource warehouse for storing a plurality of virtual resources in a graphical interface.

[0112] Step S2100: In response to the display duration of the multiple virtual resources in the target virtual resource package reaching a third duration threshold, display virtual animations of the multiple virtual resources from the current position to the target position.

[0113] In this embodiment, the resource warehouse may also be called a resource backpack, storage space, personal space, package, resource container, etc., and may have different names in different games. In short, the resource warehouse is used to store and manage the game resources owned by the player in the game. In addition, different game accounts correspond to different resource warehouses, and the resource warehouse described in the above step S290 is the resource warehouse corresponding to the first game account.

[0114] In the game, the warehouse logo corresponding to the resource warehouse may be permanently displayed in each game interface, or the warehouse logo corresponding to the resource warehouse may not be displayed, but only displayed in the setting interface. This is not specifically limited in this embodiment. In this embodiment, the method is introduced by taking the warehouse logo corresponding to the resource warehouse set on the graphical user interface as an example. Based on this, the target position corresponding to the above-mentioned resource warehouse in the graphical interface is the display position of the warehouse logo. Under normal circumstances, the display position of the warehouse logo can be any preset position in the graphical user interface, or a position randomly placed by the player. This is not specifically limited in this embodiment. For specific examples of warehouse logos, please refer to Figure 6 to Figure 10 Any of the accompanying drawings in the figure will not be described in detail.

[0115] It should be noted that virtual motion effect is a dynamic visual design effect, which can be used to simulate the movement feeling of multiple virtual resources in the target virtual resource package displayed in the graphical user interface moving from the current display position to the target position, and realize the visual effect of the multiple virtual resources currently displayed being stored from the current position to the target position. In a specific embodiment, the virtual motion effect may include but is not limited to visual effects such as flying-in motion effect, bouncing motion effect, and deformation motion effect. Among them, the flying-in motion effect is similar to the trailing effect left by an airplane flying through the sky. The flying-in motion effect from the current position to the target position can simulate the rapid movement feeling of the multiple virtual resources currently displayed moving from the current display position to the target position; the bouncing motion effect can be the effect of the multiple virtual resources currently displayed bouncing from the current display position to the target position; the deformation motion effect can provide the multiple virtual resources currently displayed to be deformed into different forms when moving from the current display position to the target position.

[0116] The third duration threshold is the preset maximum duration for which the virtual resources in the target virtual resource package can be displayed. That is, after displaying multiple virtual resources in the target virtual resource package, if it is detected that the display duration of each virtual resource reaches the third duration threshold, the virtual animation is displayed to prompt the player to store each virtual resource in the resource warehouse.

[0117] By adding virtual animation to the storage process of the first game account obtaining multiple virtual resource packages in the target virtual resource package, the process of resource increase of the first game account can be vividly presented, which increases the visual sense of hierarchy and dynamics, making the game interface more vivid and lively, which is conducive to guiding the player's line of sight, improving the player's visual experience, enhancing the player's sense of resource acquisition in the game, and improving the player's gaming experience.

[0118] In some optional embodiments, the step S230 of "displaying a waiting animation that matches the resource package level" can be specifically implemented through the following steps S231 to S232.

[0119] Step S231: displaying an interactive panel through a graphical user interface, wherein the interactive panel includes a target number of display areas; the target number is a preset number, or the number of categories of resource categories of multiple virtual resources in a target virtual resource package.

[0120] Step S232: Display the waiting animation in a target number of display areas of the interactive panel.

[0121] The above-mentioned interactive panel is a UI element for displaying the waiting animation effect, that is, the waiting animation effect is displayed on the interactive panel.

[0122] In this embodiment, the interactive panel may include but is not limited to: a roulette panel, a quadrilateral panel, an irregularly shaped panel, etc., and there is no specific limitation on the appearance of the interactive panel.

[0123] The above interactive panel includes a target number of display areas, which can be understood as dividing the interactive panel into a target number of grids, and one grid is one display area. In this example, the display area is used to display the waiting animation described above.

[0124] It should be noted that the above-mentioned target number of display areas can be arranged horizontally, vertically, in a fan shape, in a ring shape, etc. in the interactive panel. This embodiment does not specifically limit the arrangement of the display areas in the interactive panel.

[0125] Among them, the target number can be a pre-set fixed preset number, or it can be the number of resource categories according to the virtual resources contained in the target virtual resource package. In this way, the target number of the display area in the interactive panel can be adjusted in real time according to the number of categories of virtual resources contained in the target virtual resource package. When watching the waiting animation through the interactive panel, the player can know in advance the number of categories of the virtual resources to be obtained, which enhances the player's sense of participation in the waiting process, reduces the boredom of the waiting process, and makes the waiting process interesting.

[0126] Among them, the resource categories of the above-mentioned virtual resources refer to the types obtained by dividing the virtual resources preset in the game according to attributes such as purpose or function. For example, if the virtual resources contained in the target virtual resource package include rifles, submachine guns, sniper rifles, rifle bullets, sniper bullets, etc., then the number of resource categories of the virtual resources included in the target virtual resource package is 5.

[0127] For example, when the preset number is 3, the interactive panel may include 3 display areas, and the numbers of display areas in the interactive panels corresponding to different virtual resource packages may be the same, that is, the interactive panels corresponding to different virtual resource packages may all include 3 display areas;

[0128] Alternatively, as specifically described above, when the target virtual resource package includes five resource categories of virtual resources, the target number of display areas included in the target virtual resource package is five; for another example, assuming that the target virtual resource package includes three resource categories of virtual resources, the target number of display areas included in the target virtual resource package is three.

[0129] In some optional specific embodiments, in the above step S232, "displaying the waiting animation through the target number of display areas of the interactive panel" can be specifically implemented through the following step S232a or the following step S232b.

[0130] Step S232a: Scroll and display a plurality of reference virtual resources in each display area, where the reference virtual resources are virtual resources pre-configured in the game.

[0131] Step S232b: Display a reference virtual resource in each display area respectively, and control each display area to be highlighted in sequence according to a preset order, wherein the reference virtual resource is a virtual resource pre-configured in the game.

[0132] The above steps S232a and S232b are two specific implementations of the above step S232. Specifically, the virtual animations described in steps S232a and S232b are different implementations of the rolling lottery animations described in the introduction process of step S230.

[0133] The above-mentioned reference virtual resources refer to any virtual resources pre-configured in the game, that is, the reference virtual resources are randomly selected by the game system from multiple pre-configured virtual resources. The reference virtual resources may be the same as or different from the virtual resources in the target virtual resource package; the selection of the reference virtual resources does not constitute a specific limitation on this embodiment.

[0134] In the scrolling lottery effect shown in the above step S232a, multiple reference virtual resources are scrolled and displayed in one display area, that is, multiple reference virtual resources are scrolled and displayed in each display area respectively, while in the scrolling lottery effect shown in step S232b, only one reference virtual resource is displayed in one display area, and the scrolling method is to control each display area to be highlighted in turn according to a preset order, which is similar to only scrolling the virtual pointer, rather than scrolling the reference virtual resource.

[0135] Through the above two rolling lottery animations, the tension and anticipation during the waiting process can be felt through visual changes, which enhances the player's anticipation and suspense while waiting for the target virtual resource package, making the process of opening the target virtual resource package more fascinating.

[0136] In an optional specific embodiment, under the premise that multiple reference virtual resources are scrolled and displayed in each display area as described in step S232a, the "determining the second duration threshold according to the target interactive operation" in the step S250 described above can be specifically implemented through the following steps S251 to S252.

[0137] Step S251: In response to the target interactive operation acting on the interactive panel, a first scrolling speed of the multiple reference virtual resources in each display area is adjusted to obtain a second scrolling speed of the multiple reference virtual resources in each display area.

[0138] Step S252: determining the second duration threshold according to the second scrolling speed; the second scrolling speed is negatively correlated with the second duration threshold.

[0139] In this embodiment, the total time required to open the target virtual resource package can be indirectly adjusted by adjusting the second scrolling speed obtained by adjusting the first scrolling speeds of multiple reference virtual resources in each display area, wherein the second scrolling speed is negatively correlated with the second time threshold, that is, the greater the second scrolling speed, that is, the faster the scrolling effect of each reference resource, the shorter the determined second time, the shorter the total time required to open the target virtual resource package, and the faster the opening speed of the target virtual resource package.

[0140] The above-mentioned first scrolling speed refers to the preset scrolling speed when scrolling and displaying multiple reference virtual resources in each display area. If the player does not perform the target interactive operation on the interactive panel, the multiple reference virtual resources will be scrolled and displayed in each display area at the first scrolling speed until the display time of the interactive panel reaches the first time threshold.

[0141] The second scrolling speed is a target scrolling speed required for each reference virtual resource to be scrolled, obtained after adjustment of the first scrolling speed.

[0142] In an optional specific embodiment, when the target interactive operation acting on the interactive panel is a pressing operation, the pressing duration of the pressing operation is positively correlated with the second scrolling speed, that is, the longer the pressing duration, the greater the second scrolling speed, and the shorter the pressing duration, the smaller the second scrolling speed; or, the pressing pressure of the pressing operation is positively correlated with the second scrolling speed, that is, the greater the pressing pressure, the greater the second scrolling speed, and the smaller the pressing pressure, the smaller the second scrolling speed; or, the touch area of ​​the pressing operation is positively correlated with the second scrolling speed, that is, the larger the touch area, the greater the second scrolling speed, and the smaller the touch area, the smaller the second scrolling speed.

[0143] In an optional specific embodiment, when the target interactive operation acting on the interactive panel is a sliding operation, the sliding duration of the sliding operation is positively correlated with the second scrolling speed, that is, the longer the sliding duration, the greater the second scrolling speed, and the shorter the sliding duration, the smaller the second scrolling speed; or, the sliding distance of the sliding operation is positively correlated with the second scrolling speed, that is, the longer the sliding distance, the greater the second scrolling speed, and the closer the sliding distance, the smaller the second scrolling speed.

[0144] Optionally, the pressing duration, pressing pressure, touch area, sliding duration, sliding distance, etc. can be used as interpolation factors to interpolate between the first scrolling speed and a preset speed threshold to obtain a second scrolling speed, wherein the preset speed threshold is greater than the first scrolling speed; the interpolation process is not specifically introduced in this embodiment.

[0145] In this optional embodiment, by adjusting the scrolling speed of the reference virtual resources in each display area, the total time required to open the target virtual resource package is indirectly adjusted, so that the visual effect and psychological feeling of playing Aki can be consistent, that is, the faster the scrolling speed of the reference virtual resources, the faster the target virtual resource package is opened, thereby improving the player's interactive experience.

[0146] It should be noted that, for the scrolling lottery effect shown in the previous S232b, the switching display speed of each of the display areas being highlighted in sequence can also be adjusted through target interactive operations, thereby indirectly adjusting the opening speed of the target virtual resource package. Specifically, the process of determining the second duration threshold can be determined by referring to the above-mentioned adjustment of the scrolling speed of the reference virtual resource, which will not be elaborated here.

[0147] Next, combine Figure 6 And a specific example is used to exemplarily describe the control method in the game provided by this application.

[0148] It should be noted that Figure 6 In the specific examples shown, the rectangular interactive panel is a specific example of the interactive panel described above, the number of categories of virtual resources in the target virtual resource package is a specific example of the target number described above, 15 seconds is a specific example of the first duration threshold, and 3 seconds is a specific example of the third duration threshold.

[0149] like Figure 6As shown, based on the graphical user interface 1000, when the player applies a click operation to the virtual resource package 10, the virtual resource package 10 can be used as the target virtual resource package, and the graphical user interface 1000 can be switched to the graphical user interface 1004. In the graphical user interface 1004, the interactive panel 15 and the opening progress mark 16 of the virtual resource package 10 are displayed, wherein the interactive panel 15 is a rectangular interactive panel, and the opening progress mark 16 includes a linear progress bar mark, a progress label "Searching" and a remaining display time of 10 seconds.

[0150] Assuming that the virtual resource package 10 includes three kinds of virtual resources, the interactive panel 15 includes three display areas (display areas divided by dotted lines), the three display areas are arranged horizontally, and in each display area, multiple reference virtual resources are displayed by scrolling up and down respectively. For example, three reference virtual resources are scrolled respectively, and these three reference virtual resources are virtual resources randomly selected by the game server.

[0151] Based on the above-mentioned graphical user interface 1004, when the display time of the interactive panel 15 reaches 15 seconds, the interactive panel 15 can be hidden and the virtual resources in the virtual resource package 10 can be displayed, that is, the graphical user interface 1004 is switched to the graphical user interface 1005. In the graphical user interface 1005, the interactive panel 15 is not displayed, but the three types of virtual resources in the virtual resource package 10 are displayed in the resource display area 17. For example, the virtual resource package 10 displayed in the resource display area 17 includes 2 spear weapons, 3 bottles of potions and a double hook weapon.

[0152] Furthermore, when the display time of each virtual resource in the resource display area 17 reaches 3 seconds, a virtual animation of multiple virtual resources in the resource display area 17 from the current position to the position of the warehouse identifier 14 can be displayed. The display of the virtual animation is not described in detail in this example.

[0153] exist Figure 6 In the specific example shown, based on the graphical user interface 1004, if the player applies a pressing operation to the interactive panel 15, the scrolling speed of the three reference virtual resources displayed in each display area can be accelerated by the duration of the pressing operation, thereby adjusting the 15 seconds required to open the virtual resource package 10 to 3 seconds, that is, assuming that the virtual resource package has currently been displayed for 3 seconds, the virtual resource package 10 can be opened immediately.

[0154] Next, combine Figure 7 And a specific example is used to exemplarily describe the control method in the game provided by this application.

[0155] It should be noted that Figure 7In the specific example shown, the roulette interactive panel is a specific example of the interactive panel described above, the preset number 8 is a specific example of the target number described above, and 10 seconds is a specific example of the first duration threshold.

[0156] like Figure 7 As shown, based on the graphical user interface 1000, when the player applies a pressing operation to the virtual resource package 10, the virtual resource package 10 can be used as the target virtual resource package, and the graphical user interface 1000 can be switched to the graphical user interface 1006, in which the interactive panel 18 and the opening progress mark 16 of the virtual resource package 10 are displayed, wherein the interactive panel 18 is a roulette interactive panel, and the interactive panel 18 includes 8 display areas, and the 8 display areas are arranged in a fan shape, and a reference virtual resource is displayed in each display area, and the 8 reference virtual resources are virtual resources randomly selected by the game server, and the opening progress mark 16 includes a linear progress bar mark, a progress label "Searching" and a remaining display time of 10 seconds.

[0157] Based on the above-mentioned graphical user interface 1006, when the display time of the interactive panel 18 reaches 10 seconds, that is, the remaining display time in the opening progress mark 16 is 0, the interactive panel 18 can be hidden and the virtual resources in the virtual resource package 10 can be displayed, that is, the graphical user interface 1006 is switched to the graphical user interface 1007; in the graphical user interface 1007, the interactive panel 18 is not displayed, but the virtual resources in the virtual resource package 10 are displayed in the resource display area 19. Assuming that the virtual resource package 10 includes 4 types of virtual resources, the resource display area 19 includes four grids, each grid is used to display one type of virtual resource, for example, displaying virtual resources of types such as spear weapons, potions, double hook weapons, and sling scrolls.

[0158] Furthermore, when the display time of each virtual resource in the resource display area 19 reaches 3 seconds, a virtual animation of multiple virtual resources in the resource display area 19 from the current position to the position of the warehouse identifier 14 can be displayed. The display of the virtual animation is not described in detail in this example.

[0159] In some optional implementations, the “displaying the target interaction environment” in the above step S230 may include but is not limited to the following exemplary target interaction environments.

[0160] The first type: when the target game activity is a scratch-off game activity, the target interactive environment includes a scratch-off area that displays a filled image in a non-transparent state; that is, the player can perform a scratch-off action through the scratch-off area while waiting for the target virtual resource package to be opened.

[0161] The second type: when the target game activity is a password unlocking game activity, the target interactive environment includes: a reference password and a password filling area, wherein the number of areas in the password filling area is the same as the number of reference passwords; that is, the player can perform a password unlocking game behavior of filling the reference password into the password filling area while waiting for the target virtual resource package to be opened.

[0162] The third type: when the target game activity is a word guessing game activity, the target interactive environment includes: multiple reference characters and a character filling area; that is, the player can perform a word guessing game behavior of filling the character filling area with the target word while waiting for the target virtual resource package to be opened.

[0163] Next, each of the above exemplary target interaction environments is introduced in detail.

[0164] In an optional specific embodiment, when the target game activity is a scratch-off game activity, and the target interactive environment includes a scratch-off area that displays a filled image in a non-transparent state, the above-mentioned target interactive operation may be a sliding operation acting on the scratch-off area, then the control method in the game provided in the present application may also include the following step S2110.

[0165] Step S2110: In response to a sliding operation on the scratch-off area, the filling image is adjusted from a non-transparent state to a transparent state according to the sliding operation, so as to display a preset mark in the scratch-off area.

[0166] It can be understood that the above-mentioned non-transparent filling image refers to a covering layer filled in the scratch area, and the covering layer is usually in an opaque or semi-transparent state to cover the preset logo of the underlying layer.

[0167] In this embodiment, the preset identifier may include, but is not limited to, a resource identifier of any virtual resource, a virtual object identifier, a preset animation representation, and other UI elements, and is not specifically limited.

[0168] When the player applies a sliding operation to the scratch area, the filling image in the scratch area can be adjusted from a non-transparent state to a transparent state, so that the player can view the preset mark blocked by the filling image.

[0169] It is understandable that when the transparency state of the fill image is adjusted according to the sliding operation, the area of ​​the fill image whose state is to be adjusted may match the sliding track or may be a preset area, which will not be described in detail.

[0170] Accordingly, based on step S2110, in an optional specific embodiment, the "determining the second duration threshold according to the target interactive operation" in step S250 described above can be specifically implemented through the following steps S253 to S254.

[0171] Step S253: Determine the sliding speed of the sliding operation acting on the scratch area.

[0172] Step S254: determining a second duration threshold according to the sliding speed; the sliding speed and the second duration threshold are negatively correlated.

[0173] That is, the faster the sliding speed of the sliding operation applied by the player in the scratch area, the smaller the second time threshold, and the slower the sliding speed, the larger the second time threshold; in other words, the player can speed up the opening of the target virtual resource package by sliding quickly in the scratch area.

[0174] like Figure 8 As shown, Figure 8 A flowchart is provided in which the target interactive environment is a scratch-off area.

[0175] Based on the graphical user interface 1000, when the player applies a click operation to the virtual resource package 10, the virtual resource package 10 can be used as the target virtual resource package, and the graphical user interface 1000 can be switched to the graphical user interface 1007, in which the target interactive environment 20 and the opening progress mark 16 of the virtual resource package 10 are displayed.

[0176] The target interactive environment 20 includes a scratch-off area that displays a grid-filled image in an opaque state. Figure 8 As shown, the opening progress mark 16 indicates that the virtual resource package 10 can be opened in 10 seconds, that is, the display time of the target interactive environment 20 has not reached the first time threshold. In this case, the player can apply a sliding operation to the scratch area displayed in the target interactive environment 20. In response to the sliding operation, the graphical user interface 1007 can be switched to the graphical user interface 1008. In the graphical user interface 1008, the transparency of at least part of the grid filling image in the target interactive environment 20 is adjusted from an opaque state to a transparent state, and a preset mark is displayed in the scratch area; at the same time, the second time threshold can be determined according to the sliding speed of the sliding operation, so as to speed up the opening speed of the virtual resource package 10. Assuming that the preset mark is "Thank you for your patronage", when the sliding operation applied by the player causes the two words "Thank you" to be displayed, the display time of the target interactive environment 20 reaches the second time threshold. At this time, the opening progress mark 16 displayed in the graphical user interface 1008 can indicate that the virtual resource package 10 has been searched and the linear progress bar is filled.

[0177] When the progress indicator 16 is turned on to indicate that the search for the virtual resource package has been completed, the graphical user interface 1008 can be switched to the graphical user interface 1005, and the resource display area 17 is displayed in the graphical user interface 1005. The virtual resources contained in the virtual resource package 10 are displayed through the resource display area 17. For the introduction of the graphical user interface 1005, please refer to the above description, which will not be repeated here.

[0178] In an optional specific embodiment, when the target game activity is a password unlocking game activity, and the target interactive environment includes: a reference password and a password filling area, the above-mentioned target interactive operation can be a password filling operation, then the control method in the game provided by the present application can also include the following step S2120.

[0179] Step S2120: In response to the password filling operation, fill in the target password in the password filling area.

[0180] In this embodiment, the password may be a numeric password, an alphabetic password, a text password, a pattern password, etc., and is not specifically limited.

[0181] It can be understood that a password is usually composed of multiple characters and / or patterns, and the above reference password is a collection of multiple characters and / or patterns.

[0182] In this embodiment, the password filling operation may be the following exemplary operation.

[0183] Example 1: Password input operation through shortcut keys; for example, when the password is a numeric password, the player can use a virtual keyboard or an external numeric keyboard to press numeric keys and fill the numbers corresponding to the pressed numeric keys into the password filling area as the target password.

[0184] Example 2: The above target interactive environment also includes several candidate characters and / or patterns. Then, by performing a selection operation on the several candidate characters and / or patterns, the characters and / or patterns selected by the selection operation are filled into the password filling area to obtain the target password.

[0185] Accordingly, based on step S2120, in an optional specific embodiment, the "determining the second duration threshold according to the target interactive operation" in step S250 described above can be specifically implemented through the following step S255.

[0186] Step S255: If the target password is the same as the reference password, the displayed time length of the target interactive environment is determined as the second time length threshold.

[0187] In this optional embodiment, the displayed duration of the target interactive environment is determined as the second duration threshold, which can be understood as immediately opening the target virtual resource package and displaying the virtual resources in the target virtual resource package. For example, when the displayed duration of the target interactive environment is 3 seconds, the first duration threshold is 10 seconds, and when the target password entered by the player at the 4th second is the same as the reference password, the second duration threshold is determined to be 4 seconds. At this time, the displayed duration of the target interactive environment has reached 4 seconds, and the corresponding target virtual resource package can be opened immediately.

[0188] That is, in this optional embodiment, if the display time of the target interactive environment has not reached the first time threshold, and the target password is the same as the reference password, the virtual resources in the target virtual resource package are immediately displayed. In other words, the player can quickly open the target virtual resource package by executing the game behavior of entering the target password that is the same as the reference password.

[0189] like Fig. 9 As shown, Fig. 9 An example schematic diagram of a target interaction environment corresponding to a password unlocking game activity is provided.

[0190] Based on the graphical user interface 1000, when the player applies a click operation to the virtual resource package 10, the virtual resource package 10 can be used as the target virtual resource package, and the graphical user interface 1000 can be switched to be displayed as the graphical user interface 1009, in which the target interactive environment 21 and the opening progress mark 16 of the virtual resource package 10 are displayed; wherein, the target interactive environment 21 includes a prompt message "Please enter four "6"s to speed up the search" and a password filling area 22; wherein, the prompt message is used to prompt that the reference password is "four 6s", and the initial digital password "5831" is displayed in the password filling area.

[0191] like Fig. 9As shown in the graphical user interface 1009 in the figure, the opening progress mark 16 indicates that the virtual resource package 10 has 10 seconds left before it can be opened, that is, the displayed time of the target interactive environment 21 has not reached the first time threshold. In this case, the player can slide up and down in the password filling area to adjust the initial digital password "5831" in the password filling area 22 to the target password "6666". When four "6"s are filled into the password filling area 22, the graphical user interface 1009 can be switched to the graphical user interface 1010, that is, the target password "6666" is displayed in the password filling area 22 shown in the graphical user interface 1010. At this time, the target password "6666" is the same as the reference password "four 6s". Then, the filling state of the linear progress bar in the opening progress mark 16 can be adjusted from the partial filling shown in the graphical user interface 1009 to the full filling state shown in the graphical user interface 1010, and "Searching...10 seconds" can be adjusted to "Search completed";

[0192] When the filling state of the linear progress bar in the opening progress mark shown in the graphical user interface 1010 is completely filled, the graphical user interface 1010 can be switched to the graphical user interface 1005, and the resource display area 17 is displayed in the graphical user interface 1005, and the virtual resources contained in the virtual resource package 10 are displayed through the resource display area 17. For the introduction of the graphical user interface 1005, please refer to the above description, which will not be repeated here.

[0193] That is, in Fig. 9 In the specific example shown, when the display time of the target interactive environment 22 does not reach the first time threshold, the virtual resource package 10 can be opened immediately by filling in the password filling area 22 with a target password that is the same as the reference password, thereby improving the opening efficiency of the virtual resource package 10, thereby improving the efficiency of obtaining the virtual resources in the virtual resource package 10, and increasing the interactivity of the player in the process of waiting for the virtual resource package to open, thereby reducing the boredom of the player while waiting.

[0194] In an optional specific embodiment, when the target game activity is a word guessing game activity, the target interactive environment includes: multiple candidate characters and character filling areas, and the target interactive operation is a candidate character selection operation; then the control method in the game provided by the present application may also include the following step S2130.

[0195] Step S2130: In response to the candidate character selection operation, multiple target characters from the multiple candidate characters are determined, and the target characters are filled into the character filling area to obtain a target character set.

[0196] In this embodiment, the candidate characters can be various types of text, such as English letters, Chinese characters, Korean characters, etc., and are not specifically limited. A candidate character is a basic unit of text. The word guessing game in this embodiment is to form words that conform to daily usage standards based on multiple candidate characters provided in advance. For example, when the candidate characters are Chinese characters, idioms can be formed by each Chinese character.

[0197] The above-mentioned candidate character selection operations may include but are not limited to: clicking operations on candidate characters, pressing operations, dragging operations to drag candidate characters to the character filling area, voice command operations, air gesture operations, shortcut key operations, etc., without specific restrictions.

[0198] The target character is the candidate character selected by the candidate character selection operation. For example, when the candidate character selection operation is a click operation, the candidate character selected by the click operation is determined as the target character.

[0199] The above-mentioned character filling area can be a single whole area, or can be an area divided into a plurality of grids, so that the player can judge the number of target characters to be selected by the number of grids in the character filling area.

[0200] The target character set is a character set composed of a plurality of selected target characters.

[0201] Accordingly, based on step S2130, in an optional specific embodiment, the "determining the second duration threshold according to the target interaction operation" in step S250 described above can be specifically implemented through the following step S256.

[0202] Step S256: If the target character set is a preset character set, the displayed time length of the target interactive environment is determined as a second time length threshold.

[0203] The above-mentioned preset character set is a character set set in advance. The preset character set can include most commonly used character sets. For example, when the characters are Chinese characters, the preset character set can be commonly used idioms, two-part allegorical sayings, commonly used colloquialisms, etc., without specific limitation.

[0204] That is, in this embodiment, if the display time of the target interactive environment has not reached the first time threshold, if the target character set selected by the player by referring to the candidate characters is a preset character set, the target virtual resource package can be opened immediately.

[0205] like Fig.10 As shown, Fig.10 A schematic diagram of a target interactive environment corresponding to a target game activity is provided.

[0206] It should be noted that in Fig.10 the specific example shown, the click operation is a specific example of the above-mentioned candidate character selection operation.

[0207] Based on the graphical user interface 1000, when the player performs a click operation on the virtual supply package 10, the virtual supply package 10 can be used as the target virtual supply package, and the graphical user interface 1000 can be switched to display the graphical user interface 1011. In the graphical user interface 1011, the target interaction environment 23 and the opening progress identifier 16 of the virtual resource package 10 are displayed; among them, the target interaction environment 23 includes a plurality of candidate characters displayed in the left area and a character filling area on the right; among them, each candidate character is a Chinese character, and the character filling area is divided into 4 grids. According to the number of grids in the character filling area, the player can know that 4 candidate characters need to be selected to obtain the target character set.

[0208] As Fig. 9 shown in the graphical user interface 1011 in, the opening progress identifier 16 indicates that the virtual resource package 10 can be opened in 10 seconds, that is, the displayed duration of the target interaction environment 23 has not reached the first duration threshold. In this case, if the player clicks on the candidate character "乐" (happy), the candidate character "在" (in), the candidate character "其" (its), and the candidate character "中" (among) in sequence, the graphical user interface 1011 can be switched to display the graphical user interface 1012. In this graphical user interface 1012, "乐" (happy), "在" (in), "其" (its), and "中" (among) among the candidate characters displayed in the target interaction environment 23 can be grayed out to indicate that these four candidate characters are selected as the target characters, and the four target characters "乐" (happy), "在" (in), "其" (its), and "中" (among) are sequentially displayed clockwise in the four grids in the filling area on the right. It can be seen that the target character set that can be formed by the four target characters selected in the graphical user interface 1012 is "乐在其中" (happy in the midst of it). Assuming that this target character set "乐在其中" (happy in the midst of it) is the preset character set, the filling state of the linear progress bar in the opening progress identifier 16 can be adjusted from the partially filled state shown in the graphical user interface 1009 to the fully filled state shown in the graphical user interface 1012, and "Searching... 10 seconds" can be adjusted to "Search completed";

[0209] When the filling state of the linear progress bar in the opening progress identifier 16 shown in the graphical user interface 1012 is the fully filled state, the graphical user interface 1012 can be switched to display the graphical user interface 1005. In the graphical user interface 1005, the resource display area 17 is displayed, and the virtual resources contained in the virtual resource package 10 are displayed through the resource display area 17. For the introduction of this graphical user interface 1005, reference can be made to the previous description, and details will not be elaborated here.

[0210] That is, in Fig.10In the specific example shown, when the display time of the target interactive environment 23 does not reach the first time threshold, the target character set can be determined by each candidate character and filled into the character filling area. If the target character set is a preset character set, the virtual resource package 10 is opened immediately, thereby improving the opening efficiency of the virtual resource package 10, thereby improving the efficiency of obtaining virtual resources in the virtual resource package 10, and increasing the interactivity of the player in the process of waiting for the virtual resource package to open, thereby reducing the boredom of the player waiting.

[0211] Combination Figure 8 to Figure 10 According to the specific examples shown, the control method in the game provided by the present application displays the above-mentioned target interaction environments while waiting for the target virtual resource package to be opened. Players can perform corresponding target game activities based on the above-mentioned target interaction environments, thereby enhancing interactivity and participation, and increasing expectations and suspense.

[0212] In some optional specific embodiments, the control method in the game provided by the present application may also include the following steps S2140 to S2150.

[0213] Step S2140: Determine the resource scarcity corresponding to each of the multiple virtual resources in the target virtual resource package.

[0214] Step S2150: When there is a target virtual resource whose resource rarity is greater than a preset rarity among the multiple virtual resources, a preset rarity prompt is displayed; the rarity prompt is used to prompt the resource rarity of the target virtual resource.

[0215] In this embodiment, resource rarity is a concept used in the game to measure the difficulty and value of obtaining virtual resources. Common resource rarity classifications may include, but are not limited to, common, rare, epic, and legendary, etc., without specific limitation.

[0216] The target virtual resource is a virtual resource in the target virtual resource package whose rarity is greater than a preset rarity, wherein the preset rarity is a preset rarity threshold. In other words, the target virtual resource is a virtual resource that is relatively rare in the game and has a higher difficulty or value.

[0217] The above rarity prompt is used to indicate the rarity of the target virtual resource, and the rarity prompt may include but is not limited to text prompt information, dynamic prompt information, pattern prompt information, etc., and is not specifically limited. The rarity prompt allows players to intuitively know the relatively rare virtual resources currently available, thereby improving the player's sense of accomplishment.

[0218] In some optional specific embodiments, the control method in the game provided by the present application may also include the following step S2160.

[0219] Step S2160: When displaying multiple virtual resources in the target resource package, a broadcast message is sent to each second game account, where the broadcast message is used to instruct the first game account to obtain multiple virtual resources; the second game account is a game account other than the first game account that participates in the game; the broadcast message includes at least one of the following: voice broadcast information, text broadcast information, picture broadcast information, and video broadcast information.

[0220] The purpose of step S2160 is to broadcast the resource acquisition achievement of controlling the first game account to all players participating in the game, thereby enhancing the players' sense of achievement in the game and increasing the fun of the game.

[0221] So far, the method provided in this embodiment has been explained. The control method in the game provided by this application displays a waiting animation or a target interaction environment that matches the resource package level of the target virtual resource package while the player is waiting for the target virtual resource package to open. By watching the waiting animation or the target interaction environment, the player can reduce the boredom of waiting for the target virtual resource package to open, making the waiting process more interesting. In addition, by displaying the target interaction environment in which the target game activity can be executed, the player can execute the target game activity during the waiting process, thereby enhancing the player's interactivity and sense of participation during the waiting process. In short, the game fun of the player while waiting for the target virtual resource package to open can be enhanced.

[0222] In addition, when applying corresponding target interaction operations to the waiting animation or target interaction environment, the opening time of the target virtual resource package can be shortened, that is, the player's waiting time can be shortened, reducing the player's boredom during the waiting process.

[0223] It should be noted that Figure 6 to Figure 10 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.

[0224] In addition, it can be understood that the above is similar to Figure 1 , Figure 2 , Figures 5 to 10 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.

[0225] 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.

[0226] 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 Fig.11As shown, the device 3000 includes: a display unit 3001 and a determination unit 3002;

[0227] The display unit 3001 is used to display a virtual scene corresponding to the first game account in the game through a graphical user interface, wherein the virtual scene includes at least one virtual resource package in a closed state, and the virtual resource package includes a plurality of virtual resources;

[0228] A determination unit 3002 is used to determine a target virtual resource package in the virtual resource package in response to a resource package opening instruction;

[0229] The display unit 3001 is further used to determine the resource package level of the target virtual resource package and display a waiting animation or a target interactive environment that matches the resource package level. The waiting animation is used to prompt that the target virtual resource package is to be opened, and the target interactive environment is an interactive environment for executing the target game activity.

[0230] The display unit 3001 is further configured to display multiple virtual resources in the target virtual resource package in the graphical user interface in response to the display time of the waiting animation or the target interactive environment reaching a first time threshold.

[0231] Optionally, the determination unit 3002 is further configured to, when the displayed time of the waiting animation or the target interaction environment does not reach the first time threshold, respond to the target interaction operation acting on the waiting animation or the target interaction environment, and determine a second time threshold according to the target interaction operation; the second time threshold is less than or equal to the first time threshold;

[0232] The display unit 3001 is further configured to display multiple virtual resources in the target virtual resource package in the graphical user interface in response to the display time of the waiting animation or the target interactive environment reaching a second time threshold.

[0233] Optionally, the display unit 3001 is also used to display the opening progress indicator corresponding to the target virtual resource package when the target virtual resource package is determined, and the opening progress indicator is used to indicate the opening progress of the target virtual resource package; the opening progress indicator includes at least one of the following: a linear progress bar indicator, a circular progress bar indicator, a remaining display time, and a progress label.

[0234] Optionally, the determination unit 3002 is further configured to adjust the display state of the target virtual resource package from a closed state to an open state when the display time of the waiting animation or the target interactive environment reaches a first time threshold.

[0235] Optionally, the display unit 3001 is specifically used to display an interactive panel through a graphical user interface, wherein the interactive panel includes a target number of display areas; the target number is a preset number, or the number of categories of resource categories of multiple virtual resources in a target virtual resource package; and the waiting animation is displayed through the target number of display areas of the interactive panel.

[0236] Optionally, the display unit 3001 is specifically configured to scroll and display a plurality of reference virtual resources in each display area, respectively, where the reference virtual resources are virtual resources pre-configured in the game.

[0237] Optionally, the display unit 3001 is specifically configured to display a reference virtual resource in each display area, and control each display area to be highlighted in sequence according to a preset order, wherein the reference virtual resource is a virtual resource pre-configured in the game.

[0238] Optionally, the determination unit 3002 is also used to respond to the target interactive operation acting on the interactive panel, adjust the first scrolling speed of the multiple reference virtual resources in each display area, and obtain the second scrolling speed of the multiple reference virtual resources in each display area; determine the second duration threshold according to the second scrolling speed, and the second scrolling speed is negatively correlated with the second duration threshold.

[0239] Optionally, the target game activity is a scratch-off game activity, the target interactive environment includes a scratch-off area displaying a filled image in a non-transparent state; and the target interactive operation is a sliding operation acting on the scratch-off area;

[0240] The display unit 3001 is also used to respond to a sliding operation on the scratch-off area, and adjust the filling image from a non-transparent state to a transparent state according to the sliding operation, so as to display a preset logo in the scratch-off area.

[0241] Optionally, the determination unit 3002 is further specifically used to determine a sliding speed of the sliding operation; determine a second duration threshold according to the sliding speed; and the sliding speed is negatively correlated with the second duration threshold.

[0242] Optionally, the target game activity is a password unlocking game activity, and the target interactive environment includes: a reference and password filling area; the target interactive operation is a password filling operation;

[0243] The display unit 3001 is further used to fill in the target password in the password filling area in response to the password filling operation.

[0244] Optionally, the determination unit 3002 is further specifically configured to determine, if the target password is the same as the reference password, a displayed time length of the target interaction environment as a second time length threshold.

[0245] Optionally, the target game activity is a word guessing game activity, the target interactive environment includes: a plurality of candidate characters and a character filling area; the target interactive operation is a candidate character selection operation;

[0246] The display unit 3001 is further used to determine multiple target characters from multiple candidate characters in response to a candidate character selection operation, and fill the multiple target characters into the character filling area to obtain a target character set.

[0247] Optionally, the determining unit 3002 is further specifically configured to determine, if the target character set is a preset character set, a displayed time length of the target interactive environment as a second time length threshold.

[0248] Optionally, the display unit 3001 is also used to determine the resource rarities corresponding to the multiple virtual resources in the target virtual resource package; when there is a target virtual resource among the multiple virtual resources whose resource rarity is greater than a preset rarity, a preset rarity prompt is displayed; the rarity prompt is used to prompt the resource rarity of the target virtual resource.

[0249] Optionally, the display unit 3001 is also used to determine the target position corresponding to the resource warehouse for storing multiple virtual resources in the graphical interface; in response to the display time of multiple virtual resources in the target virtual resource package reaching a third time threshold, display the virtual animation of the multiple virtual resources from the current position to the target position.

[0250] Optionally, the above device 3000 further includes a sending unit 3003;

[0251] The sending unit 3003 is used to send broadcast information to each second game account when displaying multiple virtual resources in the target resource package, and the broadcast information is used to instruct the first game account to obtain multiple virtual resources; the second game account is a game account other than the first game account participating in the game; the broadcast information includes at least one of the following: voice broadcast information, text broadcast information, picture broadcast information, and video broadcast information.

[0252] 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 the control method in the game, such as Fig.12 As shown, the electronic device 4000 includes: a processor 4001; and a memory 4002, which is used to store the program of the control method in the game. After the device is powered on and runs the program of the control method in the game through the processor, any method embodiment of the control method in the game is executed. For example, the following steps can be executed:

[0253] Displaying a virtual scene corresponding to the first game account in the game through a graphical user interface, wherein the virtual scene includes at least one virtual resource package in a closed state, and the virtual resource package includes a plurality of virtual resources;

[0254] In response to the resource package opening instruction, determining a target virtual resource package in the virtual resource package;

[0255] Determine the resource package level of the target virtual resource package, and display a waiting animation or a target interactive environment that matches the resource package level, wherein the waiting animation is used to prompt that the target virtual resource package is to be opened, and the target interactive environment is an interactive environment for executing the target game activity;

[0256] In response to the display time of the waiting animation or the target interactive environment reaching a first time threshold, a plurality of virtual resources in the target virtual resource package are displayed in the graphical user interface.

[0257] Corresponding to the control method in the game provided in the embodiment of the present application, the embodiment of the present application further provides a computer-readable storage medium storing a program of the control method in the game, the program is executed by a processor to execute any method embodiment of the control method in the above-mentioned game, for example, the following steps may be executed:

[0258] Displaying a virtual scene corresponding to the first game account in the game through a graphical user interface, wherein the virtual scene includes at least one virtual resource package in a closed state, and the virtual resource package includes a plurality of virtual resources;

[0259] In response to the resource package opening instruction, determining a target virtual resource package in the virtual resource package;

[0260] Determine the resource package level of the target virtual resource package, and display a waiting animation or a target interactive environment that matches the resource package level, wherein the waiting animation is used to prompt that the target virtual resource package is to be opened, and the target interactive environment is an interactive environment for executing the target game activity;

[0261] In response to the display time of the waiting animation or the target interactive environment reaching a first time threshold, a plurality of virtual resources in the target virtual resource package are displayed in the graphical user interface.

[0262] 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.

[0263] 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.

[0264] In a typical configuration, an electronic device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0265] 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.

[0266] 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.

[0267] 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.

[0268] 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: The method comprises: Displaying a virtual scene corresponding to the first game account in the game through a graphical user interface, wherein the virtual scene includes at least one virtual resource package in a closed state, and the virtual resource package includes a plurality of virtual resources; In response to a resource package opening instruction, determining a target virtual resource package in the virtual resource package; Determine the resource package level of the target virtual resource package, and display a waiting animation or a target interactive environment that matches the resource package level, wherein the waiting animation is used to prompt that the target virtual resource package is to be opened, and the target interactive environment is an interactive environment for executing a target game activity; In response to the waiting animation or the displayed duration of the target interactive environment reaching a first duration threshold, the plurality of virtual resources in the target virtual resource package are displayed in the graphical user interface.

2. The method according to claim 1, characterized in that The method further comprises: When the displayed time of the waiting animation or the target interactive environment does not reach the first time threshold, in response to a target interactive operation acting on the waiting animation or the target interactive environment, a second time threshold is determined according to the target interactive operation; the second time threshold is less than or equal to the first time threshold; In response to the display time of the waiting animation or the target interactive environment reaching the second time threshold, the multiple virtual resources in the target virtual resource package are displayed in the graphical user interface.

3. The method according to claim 1, characterized in that The method further comprises: When the target virtual resource package is determined, an opening progress indicator corresponding to the target virtual resource package is displayed, where the opening progress indicator is used to indicate the opening progress of the target virtual resource package; The opening progress indicator includes at least one of the following: a linear progress bar indicator, a circular progress bar indicator, a remaining display time, and a progress label.

4. The method according to claim 1, characterized in that The method further comprises: When the display time of the waiting animation or the target interactive environment reaches the first time threshold, the display state of the target virtual resource package is adjusted from the closed state to the open state.

5. The method according to claim 2, characterized in that: The display of the waiting animation matching the resource package level includes: An interactive panel is displayed through the graphical user interface, wherein the interactive panel includes a target number of display areas; the target number is a preset number, or the number of categories of resource categories of the multiple virtual resources in the target virtual resource package; The waiting animation is displayed through the target number of display areas of the interactive panel.

6. The method according to claim 5, characterized in that The displaying of the waiting animation effect through the target number of display areas of the interactive panel includes: A plurality of reference virtual resources are scrolled and displayed in each display area, respectively, and the reference virtual resources are virtual resources pre-configured in the game.

7. The method according to claim 5, characterized in that The displaying of the waiting animation effect through the target number of display areas of the interactive panel includes: A reference virtual resource is displayed in each of the display areas, and each of the display areas is controlled to be highlighted in sequence according to a preset order. The reference virtual resource is a virtual resource pre-configured in the game.

8. The method according to claim 6, characterized in that The determining a second duration threshold according to the target interaction operation includes: In response to the target interactive operation acting on the interactive panel, adjusting a first scrolling speed of the plurality of reference virtual resources in each of the display areas to obtain a second scrolling speed of the plurality of reference virtual resources in each of the display areas; The second duration threshold is determined according to the second scrolling speed, and the second scrolling speed is negatively correlated with the second duration threshold.

9. The method according to claim 2, characterized in that: The target game activity is a scratch-off game activity, and the target interactive environment includes a scratch-off area displaying a filled image in a non-transparent state; The target interactive operation is a sliding operation acting on the scratch area; the method further includes: In response to a sliding operation on the scratch-off area, the filling image is adjusted from the non-transparent state to a transparent state according to the sliding operation, so as to display a preset mark in the scratch-off area.

10. The method according to claim 9, characterized in that The determining, according to the target interactive operation, a second duration threshold, includes: determining a sliding speed of the sliding operation; The second duration threshold is determined according to the sliding speed; the sliding speed and the second duration threshold are negatively correlated.

11. The method according to claim 2, characterized in that The target game activity is a password unlocking game activity, the target interactive environment includes: a reference and a password filling area; the target interactive operation is a password filling operation; the method further includes: In response to the password filling operation, a target password is filled in the password filling area.

12. The method according to claim 11, characterized in that The determining a second duration threshold according to the target interaction operation includes: If the target password is the same as the reference password, the displayed time length of the target interactive environment is determined as the second time length threshold.

13. The method according to claim 2, characterized in that The target game activity is a word guessing game activity, the target interactive environment includes: a plurality of candidate characters and a character filling area; the target interactive operation is a candidate character selection operation; the method further includes: In response to the candidate character selection operation, a plurality of target characters from the plurality of candidate characters are determined, and the plurality of target characters are filled into the character filling area to obtain a target character set.

14. The method according to claim 13, characterized in that The determining a second duration threshold according to the target interaction operation includes: If the target character set is a preset character set, the displayed time length of the target interactive environment is determined as the second time length threshold.

15. The method according to claim 1, characterized in that The method further comprises: Determining resource rarities corresponding to the plurality of virtual resources in the target virtual resource package; When there is a target virtual resource whose resource rarity is greater than a preset rarity among the multiple virtual resources, a preset rarity prompt is displayed; the rarity prompt is used to prompt the resource rarity of the target virtual resource.

16. The method according to claim 1, characterized in that The method further comprises: Determine a target location corresponding to a resource warehouse for storing the plurality of virtual resources in the graphical interface; In response to the display duration of the multiple virtual resources in the target virtual resource package reaching a third duration threshold, a virtual animation of the multiple virtual resources from a current position to the target position is displayed.

17. The method according to claim 1, characterized in that The method further comprises: When displaying the multiple virtual resources in the target resource package, sending broadcast information to each second game account, the broadcast information is used to instruct the first game account to obtain the multiple virtual resources; the second game account is a game account other than the first game account that participates in the game; The broadcast information includes at least one of the following: voice broadcast information, text broadcast information, picture broadcast information, and video broadcast information.

18. A control device in a game, characterized in that: The device comprises: a display unit and a determination unit; The display unit is used to display a virtual scene corresponding to the first game account in the game through a graphical user interface, wherein the virtual scene includes at least one virtual resource package in a closed state, and the virtual resource package includes a plurality of virtual resources; The determining unit is used to determine a target virtual resource package in the virtual resource package in response to a resource package opening instruction; The display unit is further used to determine the resource package level of the target virtual resource package, and display a waiting animation or a target interactive environment that matches the resource package level, wherein the waiting animation is used to prompt that the target virtual resource package is to be opened, and the target interactive environment is an interactive environment for executing a target game activity; The display unit is further configured to display the multiple virtual resources in the target virtual resource package in the graphical user interface in response to the display duration of the waiting animation or the target interactive environment reaching a first duration threshold.

19. 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 17 is executed.

20. 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 17.

Citation Information

Cited By

  • Interface interaction method and device, equipment and storage medium

    CN121742728A