CN112044065B - Virtual resource display method, device, equipment and storage medium - Google Patents

Virtual resource display method, device, equipment and storage medium Download PDF

Info

Publication number
CN112044065B
CN112044065B CN202010944743.XA CN202010944743A CN112044065B CN 112044065 B CN112044065 B CN 112044065B CN 202010944743 A CN202010944743 A CN 202010944743A CN 112044065 B CN112044065 B CN 112044065B
Authority
CN
China
Prior art keywords
virtual resource
candidate virtual
candidate
packet
package
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010944743.XA
Other languages
Chinese (zh)
Other versions
CN112044065A (en
Inventor
李扬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010944743.XA priority Critical patent/CN112044065B/en
Publication of CN112044065A publication Critical patent/CN112044065A/en
Application granted granted Critical
Publication of CN112044065B publication Critical patent/CN112044065B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/54Controlling the output signals based on the game progress involving acoustic signals, e.g. for simulating revolutions per minute [RPM] dependent engine sounds in a driving game or reverberation against a virtual wall
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a display method, a display device, display equipment and a storage medium of virtual resources, and belongs to the technical field of computers. The method comprises the following steps: displaying at least one candidate virtual resource package, wherein any one candidate virtual resource package in the at least one candidate virtual resource package corresponds to at least one opening control; activating any candidate virtual resource packet based on a trigger instruction of any starting control corresponding to any candidate virtual resource packet; and displaying the virtual resources which are extracted from any activated candidate virtual resource packet and matched with any opening control based on the opening instruction of any activated candidate virtual resource packet. In the process, the interaction modes are rich, the display effect of the virtual resources is improved, and more real virtual resource package opening experience can be provided for users.

Description

Virtual resource display method, device, equipment and storage medium
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a method, a device, equipment and a storage medium for displaying virtual resources.
Background
With the development of computer technology, more and more application programs can provide virtual resource packages for users to start, so that the users extract virtual resources from the virtual resource packages. For example, the game application can provide a property treasure box for the user to open, so that the user can extract the property from the property treasure box.
In the related art, a terminal displays virtual resources extracted from a certain virtual resource package directly based on a trigger instruction for starting a control corresponding to the virtual resource package. In the process, the interaction mode is single, the display effect of the virtual resources is poor, and the virtual resource package opening experience of the user is poor.
Disclosure of Invention
The embodiment of the application provides a display method, a display device, display equipment and a storage medium of virtual resources, which can be used for improving the display effect of the virtual resources. The technical scheme is as follows:
in one aspect, an embodiment of the present application provides a method for displaying virtual resources, where the method includes:
displaying at least one candidate virtual resource package, wherein any candidate virtual resource package in the at least one candidate virtual resource package corresponds to at least one starting control;
activating any candidate virtual resource packet based on a trigger instruction of any starting control corresponding to the any candidate virtual resource packet;
and displaying the virtual resources which are extracted from any activated candidate virtual resource packet and matched with any opening control based on the opening instruction of any activated candidate virtual resource packet.
In another aspect, an apparatus for displaying a virtual resource is provided, the apparatus including:
the display unit is used for displaying at least one candidate virtual resource package, and any one candidate virtual resource package in the at least one candidate virtual resource package corresponds to at least one starting control;
the activation unit is used for activating any candidate virtual resource packet based on a trigger instruction of any starting control corresponding to the any candidate virtual resource packet;
the display unit is further configured to display, based on the start instruction of any activated candidate virtual resource packet, a virtual resource extracted from any activated candidate virtual resource packet and matched with any start control.
In one possible implementation, the apparatus further includes:
and the projection unit is used for projecting a virtual resource menu corresponding to any candidate virtual resource packet from a specified position on the any candidate virtual resource packet based on a trigger instruction of any position on the any candidate virtual resource packet, and the virtual resource menu is used for displaying basic information of at least one virtual resource in the any candidate virtual resource packet.
In a possible implementation manner, the display unit is further configured to, in response to a sliding instruction of the virtual resource menu, slide basic information of at least one virtual resource in the virtual resource menu; and responding to a trigger instruction of the basic information of any virtual resource, and displaying the detailed information of any virtual resource.
In one possible implementation manner, the any candidate virtual resource package is displayed in a left area of a display page, and the designated position on the any candidate virtual resource package is a right reference position on the any candidate virtual resource package; or, the any candidate virtual resource package is displayed in the right area of the display page, and the designated position on the any candidate virtual resource package is a left reference position on the any candidate virtual resource package.
In a possible implementation manner, the display unit is further configured to hide display elements in a display page, which satisfy a hiding condition, and increase a display size of any candidate virtual resource packet from an original size to a first target size.
In one possible implementation, the apparatus further includes:
a closing unit, configured to close the virtual resource menu based on a closing instruction of the virtual resource menu;
the display unit is further configured to restore the display size of any candidate virtual resource packet to the original size, and restore and display the display element that meets the hiding condition.
In a possible implementation manner, the any candidate virtual resource package is displayed in a left area or a right area of a display page, and the activating unit is configured to move and display the any candidate virtual resource package into a middle area of the display page in an original size; or, the display size of any candidate virtual resource packet is increased from the original size to a second target size, and the any candidate virtual resource packet is moved and displayed to the middle area of the display page in the second target size.
In one possible implementation, the apparatus further includes:
the display unit is used for displaying a target opening special effect based on the activated opening instruction of any candidate virtual resource packet;
and the display unit is also used for responding to the completion of the display of the target opening special effect and displaying the virtual resources which are extracted from any activated candidate virtual resource packet and matched with any opening control.
In a possible implementation manner, the display unit is further configured to perform at least one of the following display manners: playing a starting sound effect; feeding back the starting vibration effect; and playing the opening animation.
In one possible implementation, the apparatus further includes:
the determining unit is used for determining at least one target virtual resource packet matched with a switching instruction based on the switching instruction;
the display unit is further configured to hide the at least one candidate virtual resource packet with a disappearing special effect of the at least one candidate virtual resource packet; and displaying the at least one target virtual resource packet with the presentation special effect of the at least one target virtual resource packet.
In one possible implementation, the apparatus further includes:
the acquiring unit is used for responding to the trigger operation detected aiming at any position in a target display page, and acquiring the starting instruction of any activated candidate virtual resource package, wherein the target display page is the display page where the any activated candidate virtual resource package is located.
In a possible implementation manner, the display unit is further configured to display guidance information in a reference area corresponding to any one of the candidate virtual resource packages, where the guidance information is used to guide triggering of any position on any one of the candidate virtual resource packages.
In another aspect, a computer device is provided, where the computer device includes a processor and a memory, where the memory stores at least one program code, and the at least one program code is loaded and executed by the processor to implement any one of the above virtual resource display methods.
In another aspect, a computer-readable storage medium is provided, in which at least one program code is stored, and the at least one program code is loaded and executed by a processor to implement any of the above virtual resource display methods.
In another aspect, a computer program product or a computer program is also provided, comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium, and executes the computer instructions, so that the computer device executes the display method of the virtual resource.
The technical scheme provided by the embodiment of the application at least has the following beneficial effects:
in the embodiment of the application, the virtual resource package is activated based on the trigger instruction for opening the control, and then the virtual resource is displayed based on the opening instruction of the activated virtual resource package. In the process, the interaction modes are rich, the display effect of the virtual resources is improved, and more real virtual resource package opening experience can be provided for users.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of an implementation environment of a display method for virtual resources according to an embodiment of the present application;
fig. 2 is a flowchart of a method for displaying virtual resources according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a display page displayed with a right-side toggle control according to an embodiment of the present application;
FIG. 4 is a schematic diagram illustrating a display page with a left toggle control according to an embodiment of the present application;
fig. 5 is a schematic diagram illustrating a disappearing special effect of a candidate virtual resource package according to an embodiment of the present application;
FIG. 6 is a schematic diagram illustrating a projection effect of a virtual resource menu according to an embodiment of the present disclosure;
FIG. 7 is a schematic diagram illustrating a projection effect of a virtual resource menu according to an embodiment of the present disclosure;
fig. 8 is a schematic diagram of a display page displayed with a virtual resource menu according to an embodiment of the present application;
FIG. 9 is a schematic diagram of a triggering operation of the opening control member according to an embodiment of the present disclosure;
fig. 10 is a schematic diagram of a display page where any activated candidate virtual resource package is located according to an embodiment of the present application;
FIG. 11 is a schematic diagram of a display page for displaying virtual resources according to an embodiment of the present application;
FIG. 12 is a schematic diagram of a process related to opening a treasure box provided by an embodiment of the present application;
fig. 13 is a schematic diagram of a display apparatus for virtual resources according to an embodiment of the present application;
FIG. 14 is a schematic diagram of a display device for virtual resources according to an embodiment of the present disclosure;
fig. 15 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
In order to facilitate understanding of the embodiments of the present application, some terms used in the embodiments of the present application will be explained below.
Virtual resource package: a special prop in an application program. The user can obtain the virtual resource package through purchasing or system issuing and the like, and one or more virtual resources can be obtained by opening the virtual resource package. Before opening the virtual resource package, the user may not know the type and amount of the virtual resource to be obtained. The terminal needs to perform random probability calculation through a whole set of probability system configured in the background and various special bottom-preserving logics, and then determines the dropped virtual resources.
Virtual resources: virtual articles with certain functions in the application program include but are not limited to weapons, avatars, prop cards, virtual currency and the like. The user may obtain the virtual resource through a variety of means, including but not limited to purchasing, opening a virtual resource package, and the like.
Referring to fig. 1, a schematic diagram of an implementation environment of a display method for virtual resources provided in an embodiment of the present application is shown. The implementation environment includes: a terminal 11 and a server 12.
The terminal 11 is installed with an application program capable of providing a virtual resource package, and when the application program needs to display a virtual resource extracted from the virtual resource package, the application program can display the virtual resource by using the method provided in the embodiment of the present application. The type of the application program capable of providing the virtual resource package is not limited in the embodiments of the present application, and the application program capable of providing the virtual resource package includes, but is not limited to, a game application program, a live broadcast application program, and the like.
The server 12 is configured to provide a background service for an application installed in the terminal 11 and capable of providing a virtual resource package. In one possible implementation, the server 12 undertakes primary computational work and the terminal 11 undertakes secondary computational work; or, the server 12 undertakes the secondary calculation work, and the terminal 11 undertakes the primary calculation work; alternatively, the server 12 and the terminal 11 perform cooperative computing by using a distributed computing architecture.
In one possible implementation manner, the terminal 11 may be any electronic product capable of performing human-Computer interaction with a user through one or more manners of a keyboard, a touch pad, a touch screen, a remote controller, voice interaction, or a handwriting device, for example, a PC (Personal Computer), a mobile phone, a smart phone, a PDA (Personal Digital Assistant), a wearable device, a pocket PC (pocket PC), a tablet Computer, a smart car machine, a smart television, a smart sound box, and the like. The server 12 may be a server, a server cluster composed of a plurality of servers, or a cloud computing service center. The terminal 11 establishes a communication connection with the server 12 through a wired or wireless network.
It should be understood by those skilled in the art that the above-mentioned terminal 11 and server 12 are only examples, and other existing or future terminals or servers may be suitable for the present application and are included within the scope of the present application and are herein incorporated by reference.
Based on the implementation environment shown in fig. 1, an embodiment of the present application provides a method for displaying virtual resources, which is applied to the terminal 11 as an example. As shown in fig. 2, the method provided in the embodiment of the present application includes the following steps:
in step 201, at least one candidate virtual resource package is displayed, and any one of the at least one candidate virtual resource package corresponds to at least one open control.
The virtual resource package is a special item for providing a virtual resource in an application program, and the type of the application program capable of providing the virtual resource package is not limited in the embodiment of the present application, for example, a game application program, a live broadcast application program, and the like. In addition, the type of virtual resources that can be provided by the virtual resource package is also not limited in the embodiments of the present application, and for example, the type of virtual resources that can be provided by the virtual resource package includes, but is not limited to, weapons, avatars, prop cards, virtual currency, and the like. The types of virtual resources that can be provided by different virtual resource packages may be the same or different, and this is not limited in this embodiment of the present application. In an exemplary embodiment, the level of the same type of virtual resource, the number of included sub-resources, and the like may be different in different virtual resource packages. The child resources included in the virtual resource refer to components of the virtual resource, for example, when the type of the virtual resource is virtual currency, the child resources of the virtual resource package refer to individual currencies.
In the embodiment of the present application, an application capable of providing a virtual resource package is described as an example of a game application. In an exemplary embodiment, for game-like applications, the virtual resource package is referred to as a treasure box.
It should be noted that, in the embodiment of the present application, the display timing of the virtual resource package is not limited, and for example, the display timing of the virtual resource package includes but is not limited to: displaying the virtual resource package when the experience value of the user meets the condition; and displaying the virtual resource package when the user triggers the virtual resource package display control.
The candidate virtual resource package is a virtual resource package which is displayed in a display page and is used for being opened by a user. The number of the candidate virtual resource packages displayed in the display page is one or more. In an exemplary embodiment, a reference number of virtual resource packages can be displayed simultaneously at most in a display page. In this case, the number of candidate virtual resource packets is not greater than the reference number. The reference quantity can be set according to application requirements, and is not limited in the embodiment of the application. For example, the reference number is set to 2 or 3. It should be noted that the display page in the embodiment of the present application refers to an entire page presented to a user by the display screen of the terminal.
Any candidate virtual resource package in the at least one candidate virtual resource package corresponds to the at least one opening control. And displaying the opening control corresponding to each candidate virtual resource package while displaying at least one candidate virtual resource package. For any candidate virtual resource package, the number of the open controls corresponding to the candidate virtual resource package may be one or more, which is not limited in the embodiment of the present application. The form of the opening control is not limited in the embodiment of the application, and exemplarily, the form of the opening control is a button; alternatively, the open control is in the form of a triggerable icon or the like.
And for the condition that the number of the starting controls corresponding to any candidate virtual resource package is multiple, different starting controls are used for controlling different starting modes of any candidate virtual resource package. In an exemplary embodiment, different candidate virtual resource packages correspond to the same number of open controls, so that each candidate virtual resource package has the same open mode. In the exemplary embodiment, for any candidate virtual resource package, different continuous on times are provided in different on modes, that is, different on controls corresponding to any candidate virtual resource package are used to control different continuous on times of any candidate virtual resource package.
In a possible implementation manner, when starting controls corresponding to each candidate virtual resource package are displayed, at least one opening control corresponding to any candidate virtual resource package is displayed below the any candidate virtual resource package so as to reflect the association relationship between the opening control and the candidate virtual resource package. In an exemplary embodiment, above any candidate virtual resource package, a prompt tag corresponding to the any candidate virtual resource package may be displayed, where the prompt tag corresponding to the any candidate virtual resource package is used to indicate the type and number of virtual resources that are currently available for starting the any candidate virtual resource package. And displaying a prompt label corresponding to each opening control under each opening control, wherein the prompt label corresponding to the opening control is used for indicating the type and the number of the virtual resources required to be consumed for opening the virtual resource package according to the opening mode corresponding to the opening control.
For example, taking a game application as an example, the candidate virtual resource package is a candidate treasure box, and the virtual resource for opening the candidate virtual resource package is a key. As shown in fig. 3, a display page for displaying candidate treasure boxes is a display page in which two candidate treasure boxes, namely a candidate treasure box a and a candidate treasure box B, are displayed on the display page shown in fig. 3. Two opening controls of 'once opened' and 'ten times opened' corresponding to the candidate treasure box A are displayed below the candidate treasure box A, and two opening controls of 'once opened' and 'ten times opened' corresponding to the candidate treasure box B are displayed below the candidate treasure box B.
A prompt label 301 corresponding to the candidate treasure box a is displayed above the candidate treasure box a, and the prompt label 301 corresponding to the candidate treasure box a is used for indicating that the number of the type a keys which are available for opening the candidate treasure box a and currently exist by the user is 15. A prompt label 302 corresponding to the candidate treasure box B is displayed above the candidate treasure box B, and the prompt label 302 corresponding to the candidate treasure box B is used for indicating that the number of currently existing B-type keys which can be used for opening the candidate treasure box B is 0. The user may obtain more keys by purchasing or the like.
And displaying a prompt label corresponding to each opening control below each opening control. For example, a prompt tab 303 corresponding to the opening control is displayed below the opening control of "open once" corresponding to the candidate treasure box a, and the prompt tab 303 corresponding to the opening control is used for indicating that 1 type of a key needs to be consumed for opening the virtual resource package according to the opening mode corresponding to the opening control. In the prompt tab 303 corresponding to the open control, the a-type key is indicated by an image of the a-type key.
In one possible implementation, for a case that the virtual resource package that can be provided in the application includes other virtual resource packages than the at least one candidate virtual resource package, the virtual resource package displayed in the display page may be replaced based on the switching instruction.
In a possible implementation manner, the at least one candidate virtual resource package refers to a virtual resource package displayed by default before switching, in which case, after displaying the at least one candidate virtual resource package, the method further includes: determining at least one target virtual resource packet matched with the switching instruction based on the switching instruction; hiding the at least one candidate virtual resource packet by using the disappearing special effect of the at least one candidate virtual resource packet; and displaying the at least one target virtual resource packet by using the presentation special effect of the at least one target virtual resource packet.
The switching instruction is an instruction for instructing to switch the virtual resource package displayed. In a possible implementation manner, the manner in which the terminal acquires the handover instruction is as follows: in response to detecting the switching operation, a switching instruction is acquired. The switching operation is not limited in the embodiment of the application, for example, at least one switching control is displayed on a display page, and the triggering operation for the switching control is used as the switching operation; illustratively, some designated gesture operation is taken as a switching operation, such as a left-to-right or right-to-left swipe gesture operation, and the like.
In an exemplary embodiment, the virtual resource packages that can be provided in the application program are arranged according to a preset ordering manner, for example, the ordering manner is that the virtual resource packages are arranged from left to right according to the order from low to high or from high to low of the levels of the virtual resource packages, or the virtual resource packages are arranged from left to right according to the order from low to high or from high to low of the rarity of the virtual resource packages, and the like. And for the situation that at least one switching control is displayed on the display page, the triggering operation for the switching control is taken as the switching operation, and the number of the switching controls displayed on the display page is one or two, which is related to the arrangement sequence of the selectable virtual resources.
For example, assuming that the virtual resource packages capable of being provided in the application program are sequentially arranged from left to right, if only a virtual resource package on the right side of the currently displayed at least one candidate virtual resource package exists, only the right switching control is displayed. For example, as shown in fig. 3, the display page with the right-side switching control is displayed, the right-side switching control 304 in fig. 3 is in the form of an arrow icon pointing to the right, and when the user triggers the right-side switching control 304, the terminal detects a switching operation.
And if only the virtual resource package on the left side of the currently displayed at least one candidate virtual resource package exists, only displaying the left switching control. For example, as shown in fig. 4, a display page on which a left-side switching control is displayed is a form of an arrow icon pointing to the left side in fig. 4, and when a user triggers the left-side switching control 401, the terminal detects a switching operation.
And if the virtual resource package on the right side of the currently displayed at least one candidate virtual resource package exists and the virtual resource package on the left side of the currently displayed at least one candidate virtual resource package exists, displaying the right switching control and the left switching control. And when the user triggers any one of the left switching control and the right switching control, the terminal detects the switching operation.
And the at least one target virtual resource packet matched with the switching instruction is a virtual resource packet which needs to be displayed in the display page after switching according to the switching instruction. The number of the target virtual resource packets may be the same as or different from the number of the candidate virtual resource packets, which is not limited in this embodiment of the present application. In an exemplary embodiment, the manner of determining the at least one target virtual resource packet matching the switching instruction is related to the switching manner corresponding to the switching instruction.
For example, it is assumed that virtual resource packets (the number of which is not less than 4) that can be provided in an application program are sequentially arranged from left to right, at least one candidate virtual resource packet that is displayed from left to right before switching is assumed to be two virtual resource packets that are arranged at the 2 nd bit and the 3 rd bit in all the virtual resource packets that can be provided, and if the switching manner corresponding to the switching instruction is to move one bit to the right, at least one target virtual resource packet that is matched with the switching instruction refers to two virtual resource packets that are arranged at the 3 rd bit and the 4 th bit in all the virtual resource packets that can be provided; if the switching mode corresponding to the switching instruction is to move one bit to the left, the at least one target virtual resource packet matched with the switching instruction refers to two virtual resource packets ranked at the 1 st bit and the 2 nd bit in all the available virtual resource packets.
After at least one target virtual resource packet matched with the switching instruction is determined, hiding at least one candidate virtual resource packet by using a disappearing special effect of at least one candidate virtual resource packet which is displayed currently; and then displaying the at least one target virtual resource packet by using the presentation special effect of the at least one target virtual resource packet so as to switch the virtual resource packet displayed in the display page from the at least one candidate virtual resource packet to the at least one target virtual resource packet.
In an exemplary embodiment, in the case that the number of the at least one target virtual resource package is the same as the number of the at least one candidate virtual resource package, the implementation manner of displaying the at least one target virtual resource package with the rendering special effect of the at least one target virtual resource package is as follows: and displaying the at least one target virtual resource package with the presentation special effect of the at least one target virtual resource package at the original display position of the at least one candidate virtual resource package. Based on the method, a target virtual resource package is displayed at the original display position of each candidate virtual resource package. The switching process can keep the lens still, achieve the effect of directly switching the virtual resource package in situ, and bring better visual experience for users.
The embodiment of the application does not limit the disappearing special effect and the presenting special effect, and both the disappearing special effect and the presenting special effect can be flexibly set according to application requirements. For example, the vanishing special effect of at least one candidate virtual resource package is shown in fig. 5. In an exemplary embodiment, in the process of hiding the at least one candidate virtual resource packet with the disappearing special effect of the at least one candidate virtual resource packet, a UI (User Interface) element corresponding to the at least one candidate virtual resource packet is hidden following the at least one candidate virtual resource packet.
In an exemplary embodiment, after at least one target virtual resource package is completely displayed, UI elements corresponding to the target virtual resource packages are displayed. It should be noted that the UI element corresponding to any target virtual resource package includes each display element related to any target virtual resource displayed in the display page, for example, an opening control corresponding to any target virtual resource package, a prompt tag corresponding to each opening control corresponding to any target virtual resource package, and the like.
It should be noted that the above is only an exemplary description of an implementation manner of replacing the virtual resource package displayed in the display page based on the switching instruction, and in an exemplary embodiment, the virtual resource package displayed in the display page may also be directly replaced in a sliding or scrolling manner based on the switching instruction, which is not limited in this application embodiment.
In one possible implementation manner, after displaying at least one candidate virtual resource package, the terminal may obtain the following two types of instructions in addition to the handover instruction:
1. and triggering instructions of any opening control corresponding to any candidate virtual resource packet.
When this type of instruction is acquired, the terminal executes step 202.
2. A trigger instruction for any location on any candidate virtual resource package.
Any position on any candidate virtual resource package refers to a position on the body of the any candidate virtual resource package. In a possible implementation manner, the manner in which the terminal acquires the trigger instruction of any position on any candidate virtual resource packet is as follows: and in response to detecting the trigger operation aiming at any position on any candidate virtual resource packet, acquiring a trigger instruction of any position on any candidate virtual resource packet. In an exemplary embodiment, the trigger operation for any position on any candidate virtual resource package may refer to any manner of trigger operation for any position on any candidate virtual resource package, and may also refer to a trigger operation for any position on any candidate virtual resource package that satisfies a trigger condition, which is not limited in this application embodiment.
In an exemplary embodiment, for a case that the trigger operation for any position on any candidate virtual resource package is a trigger operation for any position on any candidate virtual resource package that satisfies the trigger condition, the trigger operation that satisfies the trigger condition may be set according to experience, or may be flexibly adjusted according to an application scenario, which is not limited in this embodiment of the present application. Illustratively, the trigger operation satisfying the trigger condition is a tap operation. The tap operation refers to an operation of quickly pressing and releasing. Of course, in some exemplary embodiments, the trigger operation meeting the trigger condition may also refer to other types of trigger operations, which is not limited in this application embodiment.
In a possible implementation manner, after a trigger instruction of any position on any candidate virtual resource package is acquired, the terminal projects a virtual resource menu corresponding to any candidate virtual resource package from a specified position on any candidate virtual resource package based on the trigger instruction of any position on any candidate virtual resource package, and the virtual resource menu is used for displaying basic information of at least one virtual resource in any candidate virtual resource package.
In an exemplary embodiment, in the process of projecting the virtual resource menu, a projection special effect may be shown to highlight the projection process and improve the visual effect. After the operation of projecting the virtual resource menu corresponding to any candidate virtual resource package from the designated position on any candidate virtual resource package is completed, the virtual resource menu corresponding to any candidate virtual resource package is displayed in the display page.
The designated position on any candidate virtual resource package is the position on any candidate virtual resource package body for projecting the virtual resource menu. In one possible implementation, before performing the operation of projecting the virtual resource menu corresponding to any candidate virtual resource package from the specified position on any candidate virtual resource package, the specified position on any candidate virtual resource package needs to be determined.
In one possible implementation manner, the display page may be divided into a left area, a middle area and a right area, and the division manner may be set according to experience, which is not limited in this embodiment of the application. The mode of determining the designated position on any candidate virtual resource packet is as follows: responding to the fact that any candidate virtual resource packet is displayed in the left area of the display page, and taking the right reference position on any candidate virtual resource packet as a specified position on any candidate virtual resource packet; and in response to any candidate virtual resource package being displayed in the right area of the display page, taking the left reference position on any candidate virtual resource package as the designated position on any candidate virtual resource package.
That is, when any candidate virtual resource package is displayed in the left area of the display page, the designated position on any candidate virtual resource package is the right reference position on any candidate virtual resource package, and the virtual resource menu corresponding to any candidate virtual resource package is projected from the right reference position on any candidate virtual resource package; when any candidate virtual resource package is displayed in the right area of the display page, the designated position on any candidate virtual resource package is the left reference position on any candidate virtual resource package, and a virtual resource menu corresponding to any candidate virtual resource package is projected from the left reference position on any candidate virtual resource package.
After the virtual resource menu is projected from the specified position determined in the above manner, the display page simultaneously displays any candidate virtual resource packet and the virtual resource menu corresponding to the candidate virtual resource packet, so as to intuitively embody the association relationship between the virtual resource menu and the candidate virtual resource packet.
In one possible implementation manner, the setting of the right reference position on any candidate virtual resource packet is related to the shape of any candidate virtual resource packet, and for example, assuming that any candidate virtual resource packet is in a shape of a hexahedron placed in the forward direction, the right reference position on any candidate virtual resource packet may be set to be a middle position on a right plane or a top position on the right plane of any candidate virtual resource packet, and the like. Similarly, the setting of the left reference position on any candidate virtual resource packet is also related to the shape of any candidate virtual resource packet, and is not described herein again.
For example, the projected effect map of the virtual resource menu may be as shown in fig. 6 and 7. In the display page shown in fig. 6, any one of the candidate virtual resource packages is a candidate treasure box a, and since the candidate treasure box a is displayed in the left area of the display page, the virtual resource menu 601 is projected from the middle position on the right plane of the candidate treasure box a based on the trigger instruction of any position on the candidate treasure box a. In the display page shown in fig. 7, any one of the candidate virtual resource packages is a candidate treasure box B, and since the candidate treasure box B is displayed in the right side area of the display page, the virtual resource menu 701 is projected from the middle position on the left side plane of the candidate treasure box B based on the trigger instruction of any position on the candidate treasure box B.
In an exemplary embodiment, the projection is in the form of a VR (Virtual Reality) projection.
In an exemplary embodiment, in response to any one of the candidate virtual resource packages being displayed in the middle area of the display page, either the left reference position or the right reference position on any one of the candidate virtual resource packages is taken as the designated position on any one of the candidate virtual resource packages. That is, when any candidate virtual resource package is displayed in the middle area of the display page, the designated position on any candidate virtual resource package may be a left reference position on any candidate virtual resource package or a right reference position on any candidate virtual resource package.
The virtual resource menu corresponding to any candidate virtual resource package is used for displaying the basic information of each virtual resource which can be provided by any candidate virtual resource package so as to inform a user of which virtual resources can be provided by any candidate virtual resource package, and the user can more accurately determine the virtual resource package which needs to be opened. In an exemplary embodiment, the basic information of any virtual resource may include image information of the virtual resource, information of the number of sub-resources in the virtual resource, name information of the virtual resource, an expiration date of the virtual resource, and the like.
For example, as shown in the virtual resource menus shown in fig. 6 and 7, basic information of four virtual resources, named as "experience card a", "prop B", and "experience card B", is displayed in the virtual resource menu. The basic information of each virtual resource includes an image, the number of sub-resources, a validity period, and the like, in addition to the name. For example, the virtual resource named experience card a has a validity period of 7 days, the number of sub-cards is 100, and the image is a heart-shaped image.
In a possible implementation manner, after the trigger instruction of any position on any candidate virtual resource package is acquired, before a virtual resource menu corresponding to any candidate virtual resource package is projected from a specified position on any candidate virtual resource package, at least one of the following operations may be further performed:
operation A: and hiding the display elements meeting the hiding condition in the display page.
After the display elements meeting the hiding condition in the display page are hidden, the interference on the subsequently projected virtual resource menu can be reduced. In an exemplary embodiment, the display elements meeting the hiding condition may refer to all display elements in the display page except any candidate virtual resource package, and the display elements meeting the hiding condition may also refer to part of display elements in the display page except the first resource package, which may be flexibly adjusted by a developer according to an application requirement, which is not limited in this embodiment of the present application.
In an exemplary embodiment, the display elements meeting the hiding condition include all the open controls corresponding to any candidate virtual resource package, the prompt tags corresponding to all the open controls corresponding to any candidate virtual resource package, and all the display elements related to other candidate virtual resource packages. All display elements related to other candidate virtual resource packages comprise other candidate virtual resource packages, prompt labels corresponding to the other candidate virtual resource packages, opening controls corresponding to the other candidate virtual resource packages, prompt labels corresponding to the opening controls corresponding to the other candidate virtual resource packages, and the like. For example, as shown in fig. 6 and 7, before the virtual resource menu is projected, all display elements related to the virtual resource package except any candidate virtual resource package and the prompt tag corresponding to any candidate virtual resource package are hidden, so as to improve the display effect of the virtual resource menu.
And operation B: and increasing the display size of any candidate virtual resource packet from the original size to the first target size.
Increasing the display size of any candidate virtual resource package can highlight any candidate virtual resource package to inform the user that a location on any candidate virtual resource package has been successfully triggered.
In one possible implementation manner, the display page presented to the user is obtained by taking a shot, and the manner of increasing the display size of any candidate virtual resource package from the original size to the first target size is as follows: and keeping the visual angle of the lens unchanged, and moving the lens from the third position to the fourth position, wherein the distance between the fourth position and any candidate virtual resource packet is smaller than the distance between the third position and any candidate virtual resource packet. When the shot is at the third position, the display size of any candidate virtual resource package in the displayed page is the original size, and when the shot is at the fourth position, the display size of any candidate virtual resource package in the displayed page is the first target size. The display size of any candidate virtual resource packet in the display page depends on the distance between the candidate virtual resource packet and the lens, and the effect of increasing the display size of any candidate virtual resource packet in the display page can be achieved by zooming in the position of the lens.
It should be noted that the first target size may be set empirically, or may be flexibly adjusted according to an application scenario, which is not limited in the embodiment of the present application. Illustratively, the first target size is 1.2 times the original size.
It should be noted that after the trigger instruction of any position on any candidate virtual resource package is acquired, before the virtual resource menu corresponding to any candidate virtual resource package is projected from a specified position on any candidate virtual resource package, the terminal may only execute any one of the two operations, or may execute the two operations, which is not limited in this embodiment of the present application. For the case of executing the above two operations, the execution order of the two operations is not limited in the embodiment of the present application.
In a possible implementation manner, after acquiring a trigger instruction of any position on any candidate virtual resource packet, before projecting a virtual resource menu corresponding to any candidate virtual resource packet from a specified position on any candidate virtual resource packet, hiding a display element satisfying a hiding condition in a display page, and then under a condition that a display size of any candidate virtual resource packet is increased from an original size to a first target size, after projecting a virtual resource menu corresponding to any candidate virtual resource packet from a specified position on any candidate virtual resource packet, the method further includes: and closing the virtual resource menu based on the closing instruction of the virtual resource menu, restoring the display size of any candidate virtual resource packet to the original size, and restoring to display the display elements meeting the hidden condition.
In an exemplary embodiment, the obtaining manner of the closing instruction of the virtual resource menu is as follows: and acquiring a closing instruction of the virtual resource menu in response to detecting the triggering operation of the user on a closing button in the virtual resource menu.
In one possible implementation manner, the manner of restoring the display size of any candidate virtual resource packet to the original size is as follows: and keeping the visual angle of the lens unchanged, and restoring the lens from the fourth position to the third position.
After the display size of any candidate virtual resource package is restored to the original size and the display elements meeting the hiding condition are restored to be displayed, the display page is restored to the original display page displaying at least one candidate virtual resource package, so that a user can trigger the starting control of a certain interested virtual resource package in the original display page.
In one possible implementation, before projecting the virtual resource menu corresponding to any candidate virtual resource package from a specified position on any candidate virtual resource package based on a trigger instruction of any position on any candidate virtual resource package, the method further includes: and displaying guide information in a reference area corresponding to any candidate virtual resource packet, wherein the guide information is used for guiding and triggering any position on any candidate virtual resource packet.
The reference area corresponding to any candidate virtual resource packet may be set empirically, or may be flexibly adjusted according to an application scenario, which is not limited in the embodiment of the present application. Illustratively, the reference region corresponding to any candidate virtual resource packet is a rectangular region centered at a certain position on any candidate virtual resource packet, or the reference region corresponding to any candidate virtual resource packet is an upper region of any candidate virtual resource packet, and the like. The embodiment of the present application does not limit the content of the guidance information and the display mode of the guidance information. Illustratively, the content of the guidance information is "click to view menu", and the display mode of the guidance information is flash display, so as to improve the guidance effect. For example, as shown in fig. 6, guidance information whose contents are "click to view menu" is displayed in the reference area corresponding to the candidate treasure box a. The guide information can guide the user to view the virtual resource menu corresponding to the candidate treasure box A by triggering any position on the candidate treasure box A.
In an exemplary embodiment, the display timing of the guiding information is that the user firstly enters a display page displaying at least one candidate virtual resource package.
In one possible implementation manner, after the virtual resource menu corresponding to any candidate virtual resource package is projected from a specified position on any candidate virtual resource package, the method further includes: responding to a sliding instruction of the virtual resource menu, and sliding and displaying basic information of at least one virtual resource in the virtual resource menu; and responding to a trigger instruction of the basic information of any virtual resource, and displaying the detailed information of any virtual resource.
When any candidate virtual resource package can provide more virtual resources, the basic information of each virtual resource in the virtual resource menu cannot be simultaneously displayed in the display page, and under the condition, the user can check more basic information of the virtual resources in the virtual resource menu through up-down sliding. When the terminal detects the sliding operation of the user on the virtual resource menu, the terminal acquires the sliding instruction of the virtual resource menu. And further, based on the sliding instruction of the virtual resource menu, sliding basic information of at least one virtual resource in the virtual resource menu. The sliding display mode is related to the generation mode of the sliding instruction, and if the sliding instruction is generated based on the sliding operation of the user from top to bottom, the sliding display mode is the sliding display from top to bottom; if the sliding instruction is generated based on the sliding operation of the user from bottom to top, the sliding display mode is the sliding display from bottom to top.
For example, a display page on which a virtual resource menu is displayed is shown in fig. 8, and in the virtual resource menu shown in fig. 8, it is supported that basic information of more virtual resources is displayed by sliding up and down.
Besides sliding the virtual resource menu to view more basic information of the virtual resource, the user can trigger the basic information of a certain virtual resource. When the triggering operation of the user for the basic information of any virtual resource is detected, the terminal acquires a triggering instruction of the basic information of any virtual resource. And then displaying the detailed information of any virtual resource based on the triggering instruction of the basic information of the virtual resource so that the user can view the detailed information of the virtual resource. The embodiment of the present application does not limit the trigger operation of the trigger instruction for generating the basic information of any virtual resource, and the trigger operation is, for example, a long-time press operation.
For example, as shown in fig. 8, when the terminal acquires a trigger instruction of basic information of a virtual resource named "prop a", detailed information "prop a can be used to blast a building" of the virtual resource named "prop a" is displayed.
It should be noted that the information categories included in the detailed information of different virtual resources may be the same or different, and this is not limited in the embodiments of the present application.
In step 202, any candidate virtual resource package is activated based on a trigger instruction of any open control corresponding to any candidate virtual resource package.
Any candidate virtual resource package corresponds to at least one opening control, different opening controls are used for controlling different continuous opening times, and when a user determines a virtual resource package to be opened and determines the continuous opening times, the user triggers the opening control which corresponds to the virtual resource package to be opened and is matched with the continuous opening times. When the triggering operation of a user on any opening control corresponding to any candidate virtual resource package is detected, the terminal obtains a triggering instruction of any opening control corresponding to any candidate virtual resource package. For example, when the user's trigger operation on the "ten-times-open" open control 901 corresponding to the candidate treasure box a is detected in the display page shown in fig. 9, the terminal acquires a trigger instruction of the "ten-times-open" open control 901 corresponding to the candidate treasure box a.
After the terminal acquires the trigger instruction of any starting control corresponding to any candidate virtual resource packet, any candidate virtual resource packet is activated based on the trigger instruction of any starting control corresponding to any candidate virtual resource packet so as to prompt a user that any candidate virtual resource packet enters a to-be-started state.
In one possible implementation manner, the display page may be divided into a left area, a middle area and a left area, and the division manner may be set according to experience, which is not limited in this embodiment of the application. When any candidate virtual resource package is displayed in the left area or the right area of the display page, the modes of activating any candidate virtual resource package include, but are not limited to, the following two modes:
mode 1: and displaying any candidate virtual resource packet in the middle area of the display page in a moving mode in the original size.
Any candidate virtual resource package is originally displayed in the left area or the right area of the display page, that is, any candidate virtual resource package is originally displayed in the non-middle area of the display page. Any candidate virtual resource packet is displayed in the middle area of the display page in an original size in a moving mode, and therefore the fact that any candidate virtual resource packet enters the state to be started can be visually prompted in a visual effect.
In one possible implementation, the display page presented to the user is shot through a lens. The process of displaying any candidate virtual resource packet in the middle area of the display page in the original size moving mode can be achieved through adjusting the lens. Illustratively, the shot is adjusted to a view angle that is directly facing any of the candidate virtual resource packages.
Mode 2: and increasing the display size of any candidate virtual resource packet from the original size to a second target size, and moving and displaying any candidate virtual resource packet to the middle area of the display page in the second target size.
In the activation mode, the condition that any candidate virtual resource packet enters the to-be-opened state is more intuitively prompted through the change of the display area and the display size in the display page.
In a possible implementation manner, in a case where a display page presented to a user is obtained by taking a shot, a process of increasing a display size of any one of the candidate virtual resource packages from an original size to a second target size and displaying any one of the candidate virtual resource packages in a moving manner in the middle area of the display page in the second target size can be implemented by adjusting the shot.
It should be noted that the second target size may be set empirically, or may be flexibly adjusted according to an application scenario, which is not limited in the embodiment of the present application. Illustratively, the second target size is 1.5 times the original size.
In an exemplary embodiment, the process of increasing the display size of any one of the candidate virtual resource packages and the process of moving any one of the candidate virtual resource packages can be performed simultaneously.
In the exemplary embodiment, in the process of displaying any candidate virtual resource package in the middle area of the display page in the original size in a moving mode; or, in the process of increasing the display size of any candidate virtual resource packet from the original size to the second target size and moving and displaying any candidate virtual resource packet to the middle area of the display page in the second target size; or in the process of simultaneously increasing the display size of any candidate virtual resource packet and moving any candidate virtual resource packet, shaking any candidate virtual resource packet, so that the condition that any candidate virtual resource packet enters the state to be started can be more intuitively prompted according to the shaking effect.
The method for shaking any candidate virtual resource packet is not limited in the embodiment of the present application, and exemplarily, the method for shaking any candidate virtual resource packet is as follows: and shaking any candidate virtual resource packet left and right at a fixed frequency.
In one possible implementation manner, during the process of activating any candidate virtual resource packet, all display elements except any candidate virtual resource packet are hidden, so that any activated candidate virtual resource packet is displayed more prominently. For example, a display page on which any one of the activated candidate virtual resource packages is located is as shown in fig. 10, and only the activated candidate treasure box a is displayed on the display page shown in fig. 10.
Based on the above description of the process of activating any candidate virtual resource package, it can be seen that the process of activating any candidate virtual resource package is a dynamic process, and a user can be prompted that any candidate virtual resource package has entered a to-be-opened state through a visual effect in a manner of adjusting a display area, adjusting a display size, or shaking. It should be noted that, although any activated candidate virtual resource packet enters the to-be-opened state, it is not opened until the opening instruction is obtained. That is, after the terminal acquires the opening instruction, any one of the candidate virtual resource packages is further opened. Based on the mode, the interaction process of the user and the virtual resource package can be enriched, and the interaction experience of the user is improved.
In step 203, based on the opening instruction of any activated candidate virtual resource package, the virtual resources extracted from any activated candidate virtual resource package and matched with any opening control are displayed.
After any candidate virtual resource packet is activated, any activated candidate virtual resource packet enters a to-be-started state, and at the moment, a user can start any activated candidate virtual resource packet. Opening any one of the activated candidate virtual resource packages is to extract virtual resources from any one of the activated candidate virtual resource packages.
And the opening instruction of any activated candidate virtual resource packet is used for controlling the terminal to execute the opening process of any activated candidate virtual resource packet. Before step 203 is implemented, it is necessary to obtain the start command of any activated candidate virtual resource packet. In a possible implementation manner, the manner of obtaining the start instruction of any activated candidate virtual resource packet is as follows: and responding to the trigger operation of any position in the target display page, and acquiring the starting instruction of any activated candidate virtual resource package, wherein the target display page is the display page where any activated candidate virtual resource package is located. That is to say, when the triggering operation of the user for any position in the display page where any activated candidate virtual resource package is located is detected, the terminal acquires the opening instruction of any activated candidate virtual resource package.
Since the target display page is a display page where any activated candidate virtual resource package is located, any position in the target display page includes both a position on any activated candidate virtual resource package body and other positions. The method can optimize the interaction area, reduce the difficulty of one-hand operation of the user, improve the comfort level of the user and is more friendly to the thumb player.
In an exemplary embodiment, the trigger operation for any position in the target display page may refer to any manner of trigger operation for any position in the target display page, and may also refer to a trigger operation for any position in the target display page that satisfies the opening condition, which is not limited in this embodiment of the application. For example, as shown in fig. 10, when a user triggering operation on any position in a display page where any activated candidate virtual resource package is located is detected, the terminal acquires a start instruction of any activated candidate virtual resource package.
In an exemplary embodiment, the triggering operation for any position in the target display page refers to a situation of the triggering operation for any position in the target display page, where the triggering operation meets the opening condition, and the triggering operation meeting the opening condition may be set empirically or may be flexibly adjusted according to an application scenario, which is not limited in the embodiment of the present application. Illustratively, the triggering operation satisfying the turn-on condition refers to a triggering operation in which the pressing time length is not less than the time length threshold and the pressing pressure is not less than the pressure threshold. The duration threshold and the pressure threshold are empirically set. In an exemplary embodiment, the compression pressure is acquired through a pressure acquisition interface of the engine. For example, the pressing pressure is acquired through a touch. In an exemplary embodiment, a trigger operation in which the pressing time period is not lower than the time period threshold and the pressing pressure is not lower than the pressure threshold is taken as the highlight operation.
Of course, in some exemplary embodiments, the triggering operation meeting the opening condition may also refer to other types of triggering operations, for example, the triggering operation meeting the opening condition refers to a triggering operation in which the pressing time length is not lower than the time length threshold, and the like, which is not limited in this embodiment of the present application.
It should be noted that the above description is only an exemplary description of a manner of obtaining an open instruction of any activated candidate virtual resource package, and the manner of obtaining an open instruction of any activated candidate virtual resource package in the present application is not limited to this. For example, the manner of obtaining the start instruction of any activated candidate virtual resource packet may further be: and responding to the detected trigger operation aiming at any position on any activated candidate virtual resource packet, and acquiring the opening instruction of any activated candidate virtual resource packet. In this way, the start instruction of any candidate virtual resource package is obtained only when the user's trigger operation on the position on any activated candidate virtual resource package body is detected.
After the opening instruction of any activated candidate virtual resource package is acquired, the terminal displays the virtual resources which are extracted from any activated candidate virtual resource package and matched with any opening control based on the opening instruction of any activated candidate virtual resource package.
In a possible implementation manner, the implementation manner that the terminal displays the virtual resource matched with any opening control extracted from any activated candidate virtual resource package based on the opening instruction of any activated candidate virtual resource package includes the following two manners:
mode 1: and directly displaying the virtual resources which are extracted from any activated candidate virtual resource packet and matched with any opening control based on the opening instruction of any activated candidate virtual resource packet.
Any open control herein refers to the open control that was triggered in step 202. Before displaying the virtual resource which is extracted from any activated candidate virtual resource packet and is matched with any opening control, the terminal runs the extraction logic to determine the virtual resource which is extracted from any activated candidate virtual resource packet and is matched with any opening control, and then displays the determined virtual resource in a display page, thereby completing the opening process of any activated candidate virtual resource packet.
Different opening controls are used for controlling different continuous opening times, and the virtual resource matched with any one opening control is the virtual resource extracted after any activated candidate virtual resource packet is continuously opened according to the continuous opening times indicated by any one opening control. The number of the virtual resources extracted after any activated candidate virtual resource packet is started each time is not limited in the embodiment of the application. Exemplarily, the number of the extracted virtual resources after any activated candidate virtual resource package is started is 1, and assuming that the number of continuous starting times indicated by the triggered starting control corresponding to any activated candidate virtual resource package is 10, the number of the virtual resources matched with any starting control extracted from any activated candidate virtual resource package is 10, and the 10 virtual resources are displayed in the display page. For example, when the number of consecutive open times indicated by the triggered open control corresponding to any activated candidate virtual resource package is 10, a display page on which 10 virtual resources matching with any open control extracted from any activated candidate virtual resource package are displayed is as shown in fig. 11.
Mode 2: displaying a target opening special effect based on the activated opening instruction of any candidate virtual resource packet; and responding to the completion of the display of the opening special effect, and displaying the virtual resources which are extracted from any activated candidate virtual resource packet and matched with any opening control.
By displaying the target opening special effect, the user can have more real virtual resource package opening experience. The target opening special effect to be displayed can be preset by a developer, and the embodiment of the application does not limit the target opening special effect. In an exemplary embodiment, when only the general opening special effect is set in advance, the target opening special effect refers to the general opening special effect; when the opening special effect corresponding to each virtual resource packet is preset, the target opening special effect refers to the opening special effect corresponding to any candidate virtual resource packet.
In one possible implementation manner, the displaying of the target opening special effect includes at least one of the following displaying manners:
the display mode 1: and playing the opening sound effect.
The opening sound effect is flexibly set by developers, and the embodiment of the application is not limited to this. Illustratively, the opening sound includes a part impact sound, a metal pack opening sound, and the like. In an exemplary embodiment, for the case that different opening sound effects are matched under different opening controls, the playing opening sound effect in this display manner refers to playing the opening sound effect matched with the triggered opening control.
The starting process of any candidate virtual resource package can be sensed by the user in the sense of hearing through playing the starting sound effect, and the virtual resource package starting experience of the user is improved to a certain extent.
The display mode 2: the feedback turns on the vibration effect.
The process of feeding back the starting vibration effect refers to a process of the terminal controlling itself to vibrate according to the starting vibration effect. The vibration frequency and the vibration force are flexibly set by developers, and the embodiment of the application does not limit the vibration frequency and the vibration force. In an exemplary embodiment, for the case that different opening shock effects are matched under different opening controls, the feedback opening shock effect in this operation refers to the opening shock effect matched with the triggered opening control by the feedback.
The vibration effect is started through feedback, so that a user can feel the starting process of any candidate virtual resource package in the body sense, and the virtual resource package starting experience of the user is improved to a certain extent.
Display mode 3: and playing the opening animation.
The opening animation is flexibly set by a developer, and the embodiment of the application is not limited to this. Illustratively, the opening animation is an animation in which the key fits perfectly into the top authority of any candidate virtual resource packet and opens any candidate virtual resource packet. In an exemplary embodiment, for the case that different opening animations are matched under different opening controls, playing the opening animation in this operation refers to playing the opening animation matched with the triggered opening control.
By playing the opening animation, the user can visually and intuitively feel the opening process of any candidate virtual resource packet, and the virtual resource packet opening experience of the user is favorably improved.
The implementation process of displaying the target opening special effect may include at least one of the above three display modes. In an exemplary embodiment, the implementation process of showing the target opening special effect is as follows: playing the opening sound effect, feeding back the opening vibration effect and playing the opening animation. Under the condition, the starting process of any candidate virtual resource package can be comprehensively felt by the user in the aspects of hearing, body feeling and vision by combining sound effect, vibration and animation, and the virtual resource package starting experience of the user is greatly improved.
In one possible implementation, before the target opening special effect is shown, whether the user has a sufficient number of virtual resources of the type required for opening any candidate virtual resource packet is detected. And when the user is determined to have a sufficient number of virtual resources of the type required for opening any candidate virtual resource packet, displaying the target opening special effect. It should be noted that, here, the process of detecting whether there are a sufficient number of virtual resources of the type required to open any of the candidate virtual resource packages is a process of comparing the number of virtual resources of the required type already owned by the user with an actual required number, where the actual required number is a product of the number of consecutive openings indicated by the triggered opening control and the number of virtual resources of the required type consumed each opening. When the user is determined not to have a sufficient number of virtual resources of the type required for opening any candidate virtual resource packet, prompting that any candidate virtual resource packet cannot be opened.
And after the target opening special effect is displayed, displaying the virtual resource which is extracted from any activated candidate virtual resource packet and is matched with any opening control, thereby completing the opening process of any activated candidate virtual resource packet. Compared with a mode of completing the starting process of any activated candidate virtual resource package in a mode of directly displaying the extracted virtual resources, the mode of firstly displaying the target starting special effect and then displaying the extracted virtual resources can bring richer interactive experience to the user, and the starting pleasure of the virtual resource package of the user is further improved.
Illustratively, taking a virtual resource package as a treasure box as an example, a relevant process for opening the treasure box is shown in fig. 12. The method comprises the steps of firstly judging a trigger area of an opening control and a trigger area of a treasure box so as to conveniently judge whether a trigger object of trigger operation is the opening control or the treasure box, wherein the opening control comprises an opening control opened once and an opening control opened ten times. When the light point operation of any position on the treasure box is detected, projecting a virtual resource menu from a specified position on the treasure box, wherein the specified position is a left reference position or a right reference position; based on a sliding instruction of the virtual resource menu, displaying basic information of more virtual resources in a sliding manner; displaying detailed information of any virtual resource based on long-press operation of basic information of the virtual resource; and closing the virtual resource menu based on a closing instruction of the virtual resource menu, wherein the closing instruction is generated by clicking a closing button of the virtual resource menu.
When the triggering operation of any opening control corresponding to a certain treasure box is detected, the treasure box is activated; when detecting the key operation of any position in the display plane where the activated treasure box is located, displaying the target opening special effect, and after the target opening special effect is displayed, displaying the virtual resources extracted from the treasure box and matched with the triggered opening control.
For the situation of the treasure box provided by the virtual resource package for the game application program, based on the embodiment of the application, the 3D touch (three-dimensional touch) technology of the current terminal can be combined with the treasure box opening system in the game, different feedbacks can be obtained by a light point user and a key point user, meanwhile, rich interactive experience is brought by combining sound effect, vibration, animation and the like, and the treasure box is more friendly to a user operating with a thumb by one hand. Two side organs can be triggered by lightly clicking the treasure box, and VR projection is simulated to view virtual resources in the treasure box; the top organ of the treasure box is triggered by focusing any position in the display plane where the activated treasure box is located, and the process of obtaining virtual resources by opening the treasure box through a key is simulated. Through the man-machine interaction mode, the game experience of the user can be more real and interesting, the body feeling and substitution feeling of opening the treasure box with the key by hands of the user are provided, and the smell feeling caused by the discordant one-key box opening behavior is avoided. The game atmosphere and experience can be effectively improved, and the game pleasure is increased.
In the embodiment of the application, the virtual resource package is activated based on the trigger instruction for opening the control, and then the virtual resource is displayed based on the opening instruction of the activated virtual resource package. In the process, the interaction modes are rich, the display effect of the virtual resources is improved, and more real virtual resource package opening experience can be provided for users.
Referring to fig. 13, an embodiment of the present application provides a display apparatus for virtual resources, where the apparatus includes:
a display unit 1301, configured to display at least one candidate virtual resource package, where any candidate virtual resource package in the at least one candidate virtual resource package corresponds to at least one open control;
an activating unit 1302, configured to activate any candidate virtual resource packet based on a trigger instruction of any open control corresponding to any candidate virtual resource packet;
the display unit 1301 is further configured to display, based on the start instruction of any activated candidate virtual resource packet, a virtual resource extracted from any activated candidate virtual resource packet and matched with any start control.
In one possible implementation, referring to fig. 14, the apparatus further includes:
and a projecting unit 1303, configured to project, based on a trigger instruction of any position on any candidate virtual resource packet, a virtual resource menu corresponding to any candidate virtual resource packet from a specified position on any candidate virtual resource packet, where the virtual resource menu is used to display basic information of at least one virtual resource in any candidate virtual resource packet.
In a possible implementation manner, the display unit 1301 is further configured to, in response to a sliding instruction of the virtual resource menu, slide basic information of at least one virtual resource in the virtual resource menu; and responding to a trigger instruction of the basic information of any virtual resource, and displaying the detailed information of any virtual resource.
In one possible implementation, any candidate virtual resource package is displayed in the left area of the display page, and the designated position on any candidate virtual resource package is the right reference position on any candidate virtual resource package; or any candidate virtual resource package is displayed in the right area of the display page, and the designated position on any candidate virtual resource package is the left reference position on any candidate virtual resource package.
In a possible implementation manner, the display unit 1301 is further configured to hide display elements satisfying a hiding condition in the display page, and increase the display size of any candidate virtual resource packet from the original size to the first target size.
In one possible implementation, referring to fig. 14, the apparatus further includes:
a closing unit 1304, configured to close the virtual resource menu based on a closing instruction of the virtual resource menu;
the display unit 1301 is further configured to restore the display size of any candidate virtual resource packet to the original size, and restore and display the display elements that meet the hidden condition.
In a possible implementation manner, any candidate virtual resource package is displayed in a left area or a right area of a display page, and the activating unit 1302 is configured to move and display any candidate virtual resource package into a middle area of the display page in an original size; or, the display size of any candidate virtual resource packet is increased from the original size to the second target size, and any candidate virtual resource packet is moved and displayed to the middle area of the display page in the second target size.
In one possible implementation, referring to fig. 14, the apparatus further includes:
a display unit 1305, configured to display a target opening special effect based on an activated opening instruction of any candidate virtual resource packet;
the display unit 1301 is further configured to display, in response to the end of displaying the target opening special effect, a virtual resource extracted from any activated candidate virtual resource packet and matched with any opening control.
In one possible implementation, the presentation unit 1305 is further configured to perform at least one of the following presentation modes: playing a starting sound effect; feeding back the starting vibration effect; and playing the opening animation.
In one possible implementation, referring to fig. 14, the apparatus further includes:
a determining unit 1306, configured to determine, based on the switching instruction, at least one target virtual resource packet matching the switching instruction;
the displaying unit 1305 is further configured to hide the at least one candidate virtual resource packet with a disappearing special effect of the at least one candidate virtual resource packet; and displaying the at least one target virtual resource packet by using the presentation special effect of the at least one target virtual resource packet.
In one possible implementation, referring to fig. 14, the apparatus further includes:
an obtaining unit 1307, configured to, in response to detecting a trigger operation for any position in a target display page, obtain a start instruction of any activated candidate virtual resource package, where the target display page is a display page where any activated candidate virtual resource package is located.
In a possible implementation manner, the display unit 1301 is further configured to display guidance information in a reference area corresponding to any candidate virtual resource packet, where the guidance information is used to guide and trigger any position on any candidate virtual resource packet.
In the embodiment of the application, the virtual resource package is activated based on the trigger instruction for opening the control, and then the virtual resource is displayed based on the opening instruction of the activated virtual resource package. In the process, the interaction modes are rich, the display effect of the virtual resources is improved, and more real virtual resource package opening experience can be provided for users.
It should be noted that, when the apparatus provided in the foregoing embodiment implements the functions thereof, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the apparatus may be divided into different functional modules to implement all or part of the functions described above. In addition, the apparatus and method embodiments provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, which are not described herein again.
Fig. 15 is a schematic structural diagram of a terminal according to an embodiment of the present application. The terminal may be: a smartphone, a tablet, a laptop, or a desktop computer. A terminal may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, etc.
Generally, a terminal includes: a processor 1501 and memory 1502.
Processor 1501 may include one or more processing cores, such as a 4-core processor, an 8-core processor, or the like. The processor 1501 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). Processor 1501 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also referred to as a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1501 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content that the display screen needs to display. In some embodiments, processor 1501 may also include an AI (Artificial Intelligence) processor for processing computational operations related to machine learning.
The memory 1502 may include one or more computer-readable storage media, which may be non-transitory. The memory 1502 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 1502 is used to store at least one instruction for execution by processor 1501 to implement the display method of virtual resources provided by method embodiments herein.
In some embodiments, the terminal may further include: a peripheral interface 1503 and at least one peripheral. The processor 1501, memory 1502, and peripheral interface 1503 may be connected by buses or signal lines. Various peripheral devices may be connected to peripheral interface 1503 via buses, signal lines, or circuit boards. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1504, a display 1505, a camera assembly 1506, an audio circuit 1507, a positioning assembly 1508, and a power supply 1509.
The peripheral interface 1503 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 1501 and the memory 1502. In some embodiments, the processor 1501, memory 1502, and peripheral interface 1503 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1501, the memory 1502, and the peripheral interface 1503 may be implemented on separate chips or circuit boards, which is not limited in this embodiment.
The Radio Frequency circuit 1504 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuitry 1504 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuit 1504 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1504 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 1504 can communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 1504 may also include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 1505 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 1505 is a touch display screen, the display screen 1505 also has the ability to capture touch signals on or over the surface of the display screen 1505. The touch signal may be input to the processor 1501 as a control signal for processing. In this case, the display screen 1505 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 1505 may be one, provided on the front panel of the terminal; in other embodiments, the display 1505 may be at least two, each disposed on a different surface of the terminal or in a folded design; in still other embodiments, the display 1505 may be a flexible display, disposed on a curved surface or a folded surface of the terminal. Even further, the display 1505 may be configured in a non-rectangular irregular pattern, i.e., a shaped screen. The Display 1505 can be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and other materials.
The camera assembly 1506 is used to capture images or video. Optionally, the camera assembly 1506 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 1506 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuitry 1507 may include a microphone and speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 1501 for processing or inputting the electric signals to the radio frequency circuit 1504 to realize voice communication. For the purpose of stereo sound collection or noise reduction, a plurality of microphones can be arranged at different parts of the terminal respectively. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 1501 or the radio frequency circuit 1504 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuitry 1507 may also include a headphone jack.
The positioning component 1508 is used to locate the current geographic Location of the terminal to implement navigation or LBS (Location Based Service). The Positioning component 1508 may be a Positioning component based on the united states GPS (Global Positioning System), the chinese beidou System, the russian graves System, or the european union's galileo System.
A power supply 1509 is used to supply power to the various components in the terminal. The power supply 1509 may be alternating current, direct current, disposable or rechargeable. When the power supply 1509 includes a rechargeable battery, the rechargeable battery may support wired charging or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, the terminal also includes one or more sensors 1510. The one or more sensors 1510 include, but are not limited to: acceleration sensor 1511, gyro sensor 1512, pressure sensor 1513, fingerprint sensor 1514, optical sensor 1515, and proximity sensor 1516.
The acceleration sensor 1511 may detect the magnitude of acceleration on three coordinate axes of a coordinate system established with the terminal. For example, the acceleration sensor 1511 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 1501 may control the display screen 1505 to display the user interface in a landscape view or a portrait view based on the gravitational acceleration signal collected by the acceleration sensor 1511. The acceleration sensor 1511 may also be used for acquisition of motion data of a game or a user.
The gyroscope sensor 1512 can detect the body direction and the rotation angle of the terminal, and the gyroscope sensor 1512 and the acceleration sensor 1511 can cooperate to collect the 3D motion of the user on the terminal. The processor 1501 may implement the following functions according to the data collected by the gyro sensor 1512: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
The pressure sensor 1513 may be provided on a side frame of the terminal and/or under the display 1505. When the pressure sensor 1513 is disposed on the side frame of the terminal, the holding signal of the user to the terminal can be detected, and the processor 1501 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 1513. When the pressure sensor 1513 is disposed at a lower layer of the display screen 1505, the processor 1501 controls the operability control on the UI interface in accordance with the pressure operation of the user on the display screen 1505. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 1514 is configured to capture a fingerprint of the user, and the processor 1501 identifies the user based on the fingerprint captured by the fingerprint sensor 1514, or the fingerprint sensor 1514 identifies the user based on the captured fingerprint. Upon recognizing that the user's identity is a trusted identity, the processor 1501 authorizes the user to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings, etc. The fingerprint sensor 1514 may be disposed on the front, back, or side of the terminal. When a physical key or vendor Logo is provided on the terminal, the fingerprint sensor 1514 may be integrated with the physical key or vendor Logo.
The optical sensor 1515 is used to collect ambient light intensity. In one embodiment, processor 1501 may control the brightness of display screen 1505 based on the intensity of ambient light collected by optical sensor 1515. Specifically, when the ambient light intensity is high, the display brightness of the display screen 1505 is increased; when the ambient light intensity is low, the display brightness of the display screen 1505 is adjusted down. In another embodiment, the processor 1501 may also dynamically adjust the shooting parameters of the camera assembly 1506 based on the ambient light intensity collected by the optical sensor 1515.
A proximity sensor 1516, also known as a distance sensor, is typically provided on the front panel of the terminal. The proximity sensor 1516 is used to collect a distance between the user and the front surface of the terminal. In one embodiment, when the proximity sensor 1516 detects that the distance between the user and the front face of the terminal gradually decreases, the processor 1501 controls the display 1505 to switch from a bright screen state to a dark screen state; when the proximity sensor 1516 detects that the distance between the user and the front of the terminal is gradually increased, the processor 1501 controls the display 1505 to switch from the breath-screen state to the bright-screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 15 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
In an exemplary embodiment, a computer device is also provided that includes a processor and a memory having at least one program code stored therein. The at least one program code is loaded and executed by one or more processors to implement any of the above-described virtual resource display methods.
In an exemplary embodiment, there is also provided a computer readable storage medium having at least one program code stored therein, the at least one program code being loaded and executed by a processor of a computer device to implement any one of the above-mentioned virtual resource display methods.
In one possible implementation, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, a computer program product or computer program is also provided, the computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions to cause the computer device to execute any one of the above-mentioned display methods of the virtual resource.
It is noted that the terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
It should be understood that reference to "a plurality" herein means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The above description is only exemplary of the present application and should not be taken as limiting the present application, and any modifications, equivalents, improvements and the like that are made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (14)

1. A method for displaying virtual resources, the method comprising:
displaying at least one candidate virtual resource package, wherein any candidate virtual resource package in the at least one candidate virtual resource package corresponds to at least one starting control;
based on a trigger instruction of any starting control corresponding to any candidate virtual resource packet, activating any candidate virtual resource packet in a dynamic mode to prompt that any candidate virtual resource packet enters a state to be started; when any candidate virtual resource packet is displayed in the left area or the right area of a display page, the dynamic mode comprises the step of displaying any candidate virtual resource packet in the middle area of the display page in a moving mode in the original size; or, the display size of any candidate virtual resource packet is increased from the original size to a second target size, and the any candidate virtual resource packet is moved and displayed to the middle area of the display page in the second target size;
and opening any activated candidate virtual resource packet based on an opening instruction of any activated candidate virtual resource packet, and displaying the virtual resources which are extracted from any activated candidate virtual resource packet and matched with any opening control.
2. The method according to claim 1, wherein before the triggering instruction of any open control corresponding to any candidate virtual resource package is based on, and any candidate virtual resource package is dynamically activated, the method further comprises:
based on a trigger instruction of any position on any candidate virtual resource packet, projecting a virtual resource menu corresponding to any candidate virtual resource packet from a specified position on any candidate virtual resource packet, wherein the virtual resource menu is used for displaying basic information of at least one virtual resource in any candidate virtual resource packet.
3. The method according to claim 2, wherein after said projecting a menu of virtual resources corresponding to said any candidate virtual resource package from a specified position on said any candidate virtual resource package, said method further comprises:
responding to a sliding instruction of the virtual resource menu, and sliding and displaying basic information of at least one virtual resource in the virtual resource menu;
and responding to a trigger instruction of the basic information of any virtual resource, and displaying the detailed information of any virtual resource.
4. The method of claim 2, wherein the any candidate virtual resource package is displayed in a left region of a display page, and the designated location on the any candidate virtual resource package is a right reference location on the any candidate virtual resource package; alternatively, the first and second electrodes may be,
and any candidate virtual resource packet is displayed in the right area of the display page, and the designated position on any candidate virtual resource packet is a left reference position on any candidate virtual resource packet.
5. The method according to claim 2, wherein before said projecting the virtual resource menu corresponding to any of the candidate virtual resource packages from the specified position on the any of the candidate virtual resource packages, the method further comprises:
and hiding display elements meeting the hiding condition in the display page, and increasing the display size of any candidate virtual resource packet from the original size to a first target size.
6. The method as claimed in claim 5, wherein after said projecting the virtual resource menu corresponding to any candidate virtual resource package from the specified position on the any candidate virtual resource package, the method further comprises:
and closing the virtual resource menu based on the closing instruction of the virtual resource menu, restoring the display size of any candidate virtual resource packet to the original size, and restoring to display the display elements meeting the hidden condition.
7. The method according to any one of claims 1 to 6, wherein the opening any one of the activated candidate virtual resource packages based on the opening instruction of any one of the activated candidate virtual resource packages, and displaying the virtual resource extracted from any one of the activated candidate virtual resource packages and matched with any one of the opening controls, comprises:
displaying a target opening special effect based on the activated opening instruction of any candidate virtual resource packet;
and responding to the completion of the target opening special effect display, opening any activated candidate virtual resource package, and displaying the virtual resources which are extracted from any activated candidate virtual resource package and matched with any opening control.
8. The method according to claim 7, wherein the displaying of the target opening special effect comprises at least one of the following displaying modes:
playing a starting sound effect;
feeding back the starting vibration effect;
and playing the opening animation.
9. The method of any of claims 1-6, wherein after displaying the at least one candidate virtual resource package, the method further comprises:
determining at least one target virtual resource packet matched with a switching instruction based on the switching instruction;
hiding the at least one candidate virtual resource packet with a vanishing special effect of the at least one candidate virtual resource packet; and displaying the at least one target virtual resource packet with the presentation special effect of the at least one target virtual resource packet.
10. The method according to any one of claims 1 to 6, wherein before the step of opening any one of the activated candidate virtual resource packages based on the opening instruction of any one of the activated candidate virtual resource packages and displaying the virtual resource extracted from any one of the activated candidate virtual resource packages and matched with any one of the opening controls, the method further comprises:
and responding to the trigger operation of any position in a target display page, and acquiring a starting instruction of any activated candidate virtual resource package, wherein the target display page is a display page where the any activated candidate virtual resource package is located.
11. The method according to claim 2, wherein before the triggering instruction based on any position on any candidate virtual resource package projects a virtual resource menu corresponding to any candidate virtual resource package from a specified position on any candidate virtual resource package, the method further comprises:
and displaying guide information in a reference area corresponding to any candidate virtual resource packet, wherein the guide information is used for guiding and triggering any position on any candidate virtual resource packet.
12. An apparatus for displaying virtual resources, the apparatus comprising:
the display unit is used for displaying at least one candidate virtual resource package, and any one candidate virtual resource package in the at least one candidate virtual resource package corresponds to at least one starting control;
the activation unit is used for activating any candidate virtual resource packet in a dynamic mode based on a trigger instruction of any starting control corresponding to the any candidate virtual resource packet so as to prompt that the any candidate virtual resource packet enters a state to be started; when any candidate virtual resource packet is displayed in the left area or the right area of a display page, the dynamic mode comprises the step of displaying any candidate virtual resource packet in the middle area of the display page in a moving mode in the original size; or, the display size of any candidate virtual resource packet is increased from the original size to a second target size, and the any candidate virtual resource packet is moved and displayed to the middle area of the display page in the second target size;
the display unit is further configured to start any activated candidate virtual resource packet based on a start instruction of any activated candidate virtual resource packet, and display a virtual resource extracted from any activated candidate virtual resource packet and matched with any start control.
13. A computer device comprising a processor and a memory, the memory having stored therein at least one program code, the at least one program code being loaded and executed by the processor to implement a method of displaying a virtual resource according to any one of claims 1 to 11.
14. A computer-readable storage medium having at least one program code stored therein, the at least one program code being loaded and executed by a processor to implement the method for displaying a virtual resource according to any one of claims 1 to 11.
CN202010944743.XA 2020-09-10 2020-09-10 Virtual resource display method, device, equipment and storage medium Active CN112044065B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010944743.XA CN112044065B (en) 2020-09-10 2020-09-10 Virtual resource display method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010944743.XA CN112044065B (en) 2020-09-10 2020-09-10 Virtual resource display method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112044065A CN112044065A (en) 2020-12-08
CN112044065B true CN112044065B (en) 2022-03-04

Family

ID=73610499

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010944743.XA Active CN112044065B (en) 2020-09-10 2020-09-10 Virtual resource display method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112044065B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113535292A (en) * 2021-03-31 2021-10-22 北京达佳互联信息技术有限公司 Interface information control method and device, electronic equipment and storage medium
CN113304475B (en) * 2021-06-25 2023-09-22 北京字跳网络技术有限公司 Interaction method, device, electronic equipment and storage medium
US11748958B2 (en) * 2021-12-07 2023-09-05 Snap Inc. Augmented reality unboxing experience
US11960784B2 (en) 2021-12-07 2024-04-16 Snap Inc. Shared augmented reality unboxing experience
CN115474098B (en) * 2022-08-09 2024-03-26 北京达佳互联信息技术有限公司 Resource processing method and device, electronic equipment and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002219276A (en) * 2001-01-29 2002-08-06 Square Co Ltd Control program for treasure-chest item, storage medium, method of controlling treasure-chest item, and game device
CN104461282A (en) * 2014-11-10 2015-03-25 小米科技有限责任公司 Key processing method, key processing device and key processing equipment
CN109275015B (en) * 2018-09-13 2021-05-25 广州酷狗计算机科技有限公司 Method, device and storage medium for displaying virtual article
US20200261808A1 (en) * 2019-02-17 2020-08-20 Malam Joy Ltd. Computerized system, method and computerized program product facilitating games in conjunction with a messaging server
CN110262730A (en) * 2019-05-23 2019-09-20 网易(杭州)网络有限公司 Edit methods, device, equipment and the storage medium of game virtual resource
CN110841294A (en) * 2019-11-11 2020-02-28 腾讯科技(深圳)有限公司 Virtual item allocation method, device, equipment and storage medium
CN111589132A (en) * 2020-04-26 2020-08-28 腾讯科技(深圳)有限公司 Virtual item display method, computer equipment and storage medium

Also Published As

Publication number Publication date
CN112044065A (en) 2020-12-08

Similar Documents

Publication Publication Date Title
CN112911182B (en) Game interaction method, device, terminal and storage medium
CN112044065B (en) Virtual resource display method, device, equipment and storage medium
CN108710525B (en) Map display method, device, equipment and storage medium in virtual scene
CN109308205B (en) Display adaptation method, device, equipment and storage medium of application program
CN110097429B (en) Electronic order generation method, device, terminal and storage medium
CN110097428B (en) Electronic order generation method, device, terminal and storage medium
CN109660855B (en) Sticker display method, device, terminal and storage medium
CN112181572B (en) Interactive special effect display method, device, terminal and storage medium
CN110300274B (en) Video file recording method, device and storage medium
CN108694073B (en) Control method, device and equipment of virtual scene and storage medium
CN111589125B (en) Virtual object control method and device, computer equipment and storage medium
CN112328091B (en) Barrage display method and device, terminal and storage medium
CN113157172A (en) Barrage information display method, transmission method, device, terminal and storage medium
CN109800003B (en) Application downloading method, device, terminal and storage medium
CN112770173A (en) Live broadcast picture processing method and device, computer equipment and storage medium
CN113613028A (en) Live broadcast data processing method, device, terminal, server and storage medium
CN111437600A (en) Plot showing method, plot showing device, plot showing equipment and storage medium
CN108509127B (en) Method and device for starting screen recording task and computer equipment
CN109995804B (en) Target resource information display method, information providing method and device
CN112612387B (en) Method, device and equipment for displaying information and storage medium
CN112367533B (en) Interactive service processing method, device, equipment and computer readable storage medium
CN112023403A (en) Battle process display method and device based on image-text information
CN109819308B (en) Virtual resource acquisition method, device, terminal, server and storage medium
CN111986700A (en) Method, device, equipment and storage medium for triggering non-contact operation
CN110152309B (en) Voice communication method, device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40035383

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant