CN111773695B - Display control method and device in game - Google Patents
Display control method and device in game Download PDFInfo
- Publication number
- CN111773695B CN111773695B CN202010664849.4A CN202010664849A CN111773695B CN 111773695 B CN111773695 B CN 111773695B CN 202010664849 A CN202010664849 A CN 202010664849A CN 111773695 B CN111773695 B CN 111773695B
- Authority
- CN
- China
- Prior art keywords
- display
- virtual
- target
- virtual resource
- attribute
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 230000004044 response Effects 0.000 claims abstract description 15
- 230000009471 action Effects 0.000 claims description 8
- 238000004590 computer program Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 7
- 238000004891 communication Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/50—Controlling the output signals based on the game progress
- A63F13/52—Controlling the output signals based on the game progress involving aspects of the displayed game scene
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/20—Input arrangements for video game devices
- A63F13/21—Input arrangements for video game devices characterised by their sensors, purposes or types
- A63F13/214—Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/40—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
- A63F13/42—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application provides a display control method and a device in a game, wherein the method comprises the following steps: displaying a target resource set at least partially in the virtual resource display area, wherein the target resource set is an ordered set containing at least two virtual resources, and the ordering of the virtual resources in the target resource set is determined according to the attribute of the virtual resources; providing a display adjustment control in a graphical user interface, wherein the display adjustment control comprises at least two attribute areas, and the attribute areas correspond to the attributes of the virtual resources; and adjusting the displayed part of the target resource set in the virtual resource display area in response to a first adjustment operation for the display adjustment control. According to the application, the overall structure of the virtual resource is displayed to the user through displaying the adjustment control and displaying the attribute area on the adjustment control, so that the user can quickly locate the virtual resource which the user wants to view through the attribute area, and the efficiency of displaying the virtual resource is improved.
Description
Technical Field
The present application relates to the field of game technologies, and in particular, to a method and an apparatus for controlling display in a game.
Background
With rapid advances in technology, more and more people choose to play games on intelligent terminals. Virtual resources are often available to players in games, sometimes in vast numbers and types. Virtual resources may include props, weapons, game cards, which in turn are categorized into a plurality of types. Some games can have tens of virtual resources, up to hundreds or even thousands.
In a game, a virtual article display window can be provided for a user, the user can view virtual resources in the window, and due to the large number of virtual resources, all props cannot be displayed in one display window, paging is needed for display, and the user views the virtual resources through page turning. In this way, the user cannot perceive the number of virtual resources and the overall structure of the virtual resources, and cannot quickly find the virtual resources he wants.
Disclosure of Invention
Accordingly, the present application is directed to a method and apparatus for controlling display in a game, which can enable a user to quickly locate a virtual resource required by the user by including a display adjustment control of an attribute region, thereby improving efficiency of displaying the virtual resource.
The embodiment of the application provides a display control method in a game, which is applied to an electronic terminal capable of presenting a graphical user interface, wherein the graphical user interface comprises a virtual resource display area, and the method comprises the following steps:
Displaying a target resource set at least partially in the virtual resource display area, wherein the target resource set is an ordered set containing at least two virtual resources, and the ordering of the virtual resources in the target resource set is determined according to the attribute of the virtual resources;
providing a display adjustment control in a graphical user interface, wherein the display adjustment control comprises at least two attribute areas, and the attribute areas correspond to the attributes of the virtual resources;
And adjusting the displayed part of the target resource set in the virtual resource display area in response to a first adjustment operation for the display adjustment control.
In one possible embodiment, the method comprises:
And responding to a second adjustment operation aiming at the display adjustment control, determining a target attribute area in the display adjustment control, and highlighting a target virtual resource corresponding to the target attribute area.
In one possible implementation, the adjusting the portion of the target resource set displayed in the virtual resource presentation area in response to the first adjustment operation for the display adjustment control includes:
And responding to a first adjustment operation for the display adjustment control, and adjusting the part of the target resource set displayed in the virtual resource display area based on the action area of the first adjustment operation on the display adjustment control.
In one possible implementation, the attribute of the virtual resource includes at least one of:
the type of the virtual resource, the serial number of the virtual resource, the consumption value corresponding to the virtual resource and the online time of the virtual resource.
In one possible embodiment, the first adjustment operation includes at least one of:
And aiming at the drag operation of the slider sub-control in the display adjustment control, the click operation of the scroll bar control in the display adjustment control and the click operation of the attribute area.
In one possible embodiment, the second adjustment operation includes at least one of:
a long press operation acting on the attribute region, a double click operation acting on the attribute region, a drag operation acting on the attribute region.
In one possible implementation, a previous virtual resource in the set of target resources is partially occluded by a subsequent virtual resource;
The highlighting the target virtual resource corresponding to the target attribute area includes:
and tiling the target virtual resource corresponding to the target attribute area.
The embodiment of the application also provides a display control device in the game, which is used for an electronic terminal capable of presenting a graphical user interface, wherein the graphical user interface comprises a virtual resource display area, and the device comprises:
The display module is used for at least partially displaying a target resource set in the virtual resource display area, wherein the target resource set is an ordered set containing at least two virtual resources, and the ordering of the virtual resources in the target resource set is determined according to the attribute of the virtual resources;
The control providing module is used for providing a display adjustment control in the graphical user interface, wherein the display adjustment control comprises at least two attribute areas, and the attribute areas correspond to the attributes of the virtual resources;
and the display control module is used for responding to a first adjustment operation for the display adjustment control and adjusting the part of the target resource set displayed in the virtual resource display area.
In one possible implementation, the display control module is further configured to:
And responding to a second adjustment operation aiming at the display adjustment control, determining a target attribute area in the display adjustment control, and highlighting a target virtual resource corresponding to the target attribute area.
In one possible implementation, the display control module is specifically configured to, when adjusting the portion of the target resource set displayed in the virtual resource presentation area in response to the first adjustment operation for the display adjustment control:
And responding to a first adjustment operation for the display adjustment control, and adjusting the part of the target resource set displayed in the virtual resource display area based on the action area of the first adjustment operation on the display adjustment control.
In one possible implementation, the attribute of the virtual resource includes at least one of:
the type of the virtual resource, the serial number of the virtual resource, the consumption value corresponding to the virtual resource and the online time of the virtual resource.
In one possible embodiment, the first adjustment operation includes at least one of:
And aiming at the drag operation of the slider sub-control in the display adjustment control, the click operation of the scroll bar control in the display adjustment control and the click operation of the attribute area.
In one possible embodiment, the second adjustment operation includes at least one of:
a long press operation acting on the attribute region, a double click operation acting on the attribute region, a drag operation acting on the attribute region.
In one possible implementation, a previous virtual resource in the set of target resources is partially occluded by a subsequent virtual resource; the display control module is specifically configured to, when highlighting a target virtual resource corresponding to the target attribute area:
and tiling the target virtual resource corresponding to the target attribute area.
The embodiment of the application also provides electronic equipment, which comprises: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory in communication over the bus when the electronic device is running, the machine-readable instructions when executed by the processor performing the steps of:
Displaying a target resource set at least partially in the virtual resource display area, wherein the target resource set is an ordered set containing at least two virtual resources, and the ordering of the virtual resources in the target resource set is determined according to the attribute of the virtual resources;
providing a display adjustment control in a graphical user interface, wherein the display adjustment control comprises at least two attribute areas, and the attribute areas correspond to the attributes of the virtual resources;
And adjusting the displayed part of the target resource set in the virtual resource display area in response to a first adjustment operation for the display adjustment control.
In one possible implementation, the processor further performs:
And responding to a second adjustment operation aiming at the display adjustment control, determining a target attribute area in the display adjustment control, and highlighting a target virtual resource corresponding to the target attribute area.
In one possible implementation, the processor, when executing the first adjustment operation for the display adjustment control in response to adjusting the portion of the target resource set displayed in the virtual resource presentation area, specifically executes:
And responding to a first adjustment operation for the display adjustment control, and adjusting the part of the target resource set displayed in the virtual resource display area based on the action area of the first adjustment operation on the display adjustment control.
In one possible implementation, the attribute of the virtual resource includes at least one of:
the type of the virtual resource, the serial number of the virtual resource, the consumption value corresponding to the virtual resource and the online time of the virtual resource.
In one possible embodiment, the first adjustment operation includes at least one of:
And aiming at the drag operation of the slider sub-control in the display adjustment control, the click operation of the scroll bar control in the display adjustment control and the click operation of the attribute area.
In one possible embodiment, the second adjustment operation includes at least one of:
a long press operation acting on the attribute region, a double click operation acting on the attribute region, a drag operation acting on the attribute region.
In one possible implementation, a previous virtual resource in the set of target resources is partially occluded by a subsequent virtual resource;
The processor specifically performs when executing and highlighting the target virtual resource corresponding to the target attribute area:
and tiling the target virtual resource corresponding to the target attribute area.
The embodiment of the present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the display control method in a game as described above.
The display control method and device in the game provided by the embodiment of the application are applied to the electronic terminal capable of presenting the graphical user interface, wherein the graphical user interface comprises a virtual resource display area, and the method comprises the following steps: displaying a target resource set at least partially in the virtual resource display area, wherein the target resource set is an ordered set containing at least two virtual resources, and the ordering of the virtual resources in the target resource set is determined according to the attribute of the virtual resources; providing a display adjustment control in a graphical user interface, wherein the display adjustment control comprises at least two attribute areas, and the attribute areas correspond to the attributes of the virtual resources; and adjusting the displayed part of the target resource set in the virtual resource display area in response to a first adjustment operation for the display adjustment control. The application can display the whole structure of the virtual resource to the user by generating the display adjustment control and displaying the attribute area on the adjustment control, so that the user can quickly position the virtual resource which the user wants to view through the attribute area, and the efficiency of displaying the virtual resource is improved.
In order to make the above objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for controlling display in a game according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a graphical user interface in a method for controlling display in a game according to an embodiment of the present application;
FIG. 3 is a diagram showing a second graphical user interface in a method for controlling display in a game according to an embodiment of the present application;
fig. 4 is a schematic structural view of a display control device in a game according to an embodiment of the present application;
Fig. 5 shows a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. The components of the embodiments of the present application generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the application, as presented in the figures, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. Based on the embodiments of the present application, every other embodiment obtained by a person skilled in the art without making any inventive effort falls within the scope of protection of the present application.
First, an application scenario to which the present application is applicable will be described. The application can be applied to virtual article display in games. In the embodiment of the present application, the case that the virtual article is a virtual game card is described, but the virtual article is only one embodiment, and the present application can be applied to other scenes without performing creative work, and all the situations are within the protection scope of the present application.
According to research, in a game, a virtual article display window can be provided for a user, the user can view virtual resources in the window, and due to the large number of virtual resources, all props cannot be displayed in one display window, paging is needed for display, and the user views the virtual resources through page turning. In this way, the user cannot perceive the number of virtual resources and the overall structure of the virtual resources, and cannot quickly find the virtual resources he wants.
Based on the above, the embodiment of the application provides a display control method in a game, so that the overall structure of virtual resources is displayed to a user, the user can quickly position the virtual resources required by the user, and the efficiency of displaying the virtual resources is improved.
Referring to fig. 1, fig. 1 is a flowchart of a method for controlling display in a game according to an embodiment of the application. As shown in fig. 1, the method for controlling display in a game provided by the embodiment of the present application is applied to an electronic terminal capable of presenting a graphical user interface, where the graphical user interface includes a virtual resource display area, and the method includes:
S101, at least partially displaying a target resource set in the virtual resource display area, wherein the target resource set is an ordered set containing at least two virtual resources, and the ordering of the virtual resources in the target resource set is determined according to the attribute of the virtual resources.
The method can be executed by the electronic terminal, the electronic terminal can display a graphical user interface and a game picture, and the electronic terminal has certain computing capability and can monitor touch operation input on a touch screen. The electronic terminal can be a terminal device such as a personal computer, a notebook computer, a tablet personal computer, a smart phone and the like.
The virtual resource may be a prop, equipment, virtual game card, or the like in the game. The attributes of the virtual resources may include multiple types, and each type of virtual resource may include multiple virtual resources, and the same virtual resource may include multiple virtual resources.
In the step, a user can select one or more types of virtual resources through resource checking operation according to own requirements, and after the electronic terminal detects the resource checking operation of the user, the virtual resources corresponding to the types selected by the user can be used as the virtual resources to be displayed, and a target resource set containing the virtual resources to be displayed is generated.
Further, the target resource set may include all virtual resources to be displayed, where the virtual resources to be displayed may be displayed in a list, tiled, stacked, or other form. The size of the target resource set is affected by the number and arrangement of virtual resources. The manner in which virtual resources in the target set of resources are ordered may be determined by the attributes of the virtual resources. Illustratively, the ordering may be by type in the attribute, or by identification sequence number in the attribute.
After the target resource set is generated, the target resource set may be displayed in the virtual resource presentation area. Because of the large number of virtual items, the virtual resource display area may not be able to completely display the target resource set, and may only display a portion of the target resource set. And then, by adding some controls, a user can adjust the target resource set displayed in the virtual resource display area through the controls.
S102, providing a display adjustment control in the graphical user interface, wherein the display adjustment control comprises at least two attribute areas, and the attribute areas correspond to the attributes of the virtual resources.
Wherein the display adjustment control may be provided with at least two attribute areas, each attribute area corresponding to an attribute of the virtual resource in the target resource set, for example, if the attribute of the virtual resource includes a type, each attribute area corresponds to a different type,
For example, if the virtual resource to be displayed is a plurality of types of virtual game cards, such as a character card, a legal card, an arming card, etc., an attribute area corresponding to each type may be generated, and an attribute identifier may be set on the attribute area, where the attribute identifier may be different in color, and may also have an icon corresponding to the type.
And S103, responding to a first adjustment operation for the display adjustment control, and adjusting the display part of the target resource set in the virtual resource display area.
After displaying the adjustment control, the user may adjust the display portion of the target resource set in the virtual resource display area by operating the display adjustment control.
For example, the user may click on the attribute area of any area, so that the target resource set in the virtual resource display area jumps to the portion corresponding to the attribute area. The attribute area corresponds to the type of the virtual resource, and the virtual resource in the target resource set of the type corresponding to the attribute area can be displayed in the virtual resource display area through the first adjustment operation.
Therefore, the overall structure information of the virtual resources can be displayed to the user, the user can roughly know the number of the virtual resources through the structure information, and each type of virtual resources are roughly located at the position of the target resource set, so that the user can quickly jump the target resource set in the virtual resource display area to the position of the virtual resource to be checked through the adjustment control.
The display control method in the game provided by the embodiment of the application is applied to the electronic terminal capable of presenting the graphical user interface, wherein the graphical user interface comprises a virtual resource display area, and the method comprises the following steps: displaying a target resource set at least partially in the virtual resource display area, wherein the target resource set is an ordered set containing at least two virtual resources, and the ordering of the virtual resources in the target resource set is determined according to the attribute of the virtual resources; providing a display adjustment control in a graphical user interface, wherein the display adjustment control comprises at least two attribute areas, and the attribute areas correspond to the attributes of the virtual resources; and adjusting the displayed part of the target resource set in the virtual resource display area in response to a first adjustment operation for the display adjustment control. The application can display the whole structure of the virtual resource to the user by generating the display adjustment control and displaying the attribute area on the adjustment control, so that the user can quickly position the virtual resource which the user wants to view through the attribute area, and the efficiency of displaying the virtual resource is improved.
In one possible embodiment, the method further comprises:
And responding to a second adjustment operation aiming at the display adjustment control, determining a target attribute area in the display adjustment control, and highlighting a target virtual resource corresponding to the target attribute area.
Referring to fig. 2, fig. 2 is a schematic diagram of a graphical user interface in a display control method in a game according to an embodiment of the application.
As shown in fig. 2, a virtual resource presentation area 201 and an adjustment control 202 are included in the graphical user interface; at least part of the target resource set is displayed in the virtual resource display area 201, the target resource set comprises a plurality of virtual game cards 203, and corresponding type information such as a character card, a legal card, an arming card and the like (A, B, C, D in the figure) is marked on the virtual game cards 203; the adjustment control 202 is divided into a plurality of areas, each area is provided with a plurality of attribute areas 2021, and each attribute area is marked with type information 2022 corresponding to the virtual game card in each area; virtual game card 2031 is obscured by virtual game card 2032.
In this step, after the electronic terminal detects the second touch operation acting on the virtual resource display area, the blocked virtual resource may be highlighted, specifically, the highlighting may be tiled display, where the virtual game cards 2031 and 2032 are not blocked, and the user may observe all the information on the virtual game cards 203.
Referring to fig. 3, fig. 3 is a schematic diagram of a graphical user interface in a display control method in a game according to an embodiment of the application.
As shown in fig. 3, after responding to the second touch operation, a virtual resource display area 201 and an adjustment control 202 are included in the graphical user interface; at least part of second resource display pages are displayed in the virtual resource display area 201, the second resource display pages comprise a plurality of virtual game cards 203, and corresponding type information such as a character card, a legal card, an arming card and the like is marked on the virtual game cards 203; the adjustment control 202 is divided into a plurality of areas, each area is provided with an attribute area 2021, and the attribute areas are marked with type information 2022 corresponding to the virtual game cards in each area; virtual game card 2031 and virtual game card 2032 are not occluded from each other. In one possible implementation, virtual game card 2031 may be obscured by a portion of virtual game card 2032.
In this step, the type of virtual resource in the second resource presentation page corresponds to the attribute region 2021. After highlighting the target virtual resource corresponding to the target attribute area, the attribute area 2021 affected by the second touch operation may be further highlighted, where highlighting may include a manner of moving up, magnifying, highlighting, and the like the attribute area 2021.
In one possible implementation, the adjusting the portion of the target resource set displayed in the virtual resource presentation area in response to the first adjustment operation for the display adjustment control includes:
And responding to a first adjustment operation for the display adjustment control, and adjusting the part of the target resource set displayed in the virtual resource display area based on the action area of the first adjustment operation on the display adjustment control.
As shown in fig. 2, the adjustment control 202 in fig. 2 is a scroll bar control, and a slider sub-control 2023 is further disposed on the scroll bar control.
In this step, after the electronic terminal detects the second touch operation acting on the slider sub-control 2023, the portion of the target resource set displayed in the virtual resource display area may be adjusted according to the position information of the slider sub-control 2023 on the scroll bar control after the second touch operation.
Illustratively, each possible location information of the slider sub-control 2023 may correspond to a plurality of regions of the target resource set, and when the slider sub-control 2023 is located at a specific location, the target resource set may be switched to a portion corresponding to the location in the virtual resource presentation region 201.
The second touch operation may be a drag operation acting on the slider sub-control 2023, or a click operation acting on the moving track of the slider sub-control 2023.
In one possible implementation, the attribute of the virtual resource includes at least one of:
the type of the virtual resource, the serial number of the virtual resource, the consumption value corresponding to the virtual resource and the online time of the virtual resource.
The serial number of the virtual resource can be the identity serial number of the virtual resource, and the serial number of each virtual resource is unique; the consumption value corresponding to the virtual resource can be a legal force value or an action force value which is required to be consumed by using the virtual resource in the game; the online time of the virtual resource may be the time the virtual resource was pushed out in the game or the time the user obtained the virtual resource.
In one possible embodiment, the first adjustment operation includes at least one of:
And aiming at the drag operation of the slider sub-control in the display adjustment control, the click operation of the scroll bar control in the display adjustment control and the click operation of the attribute area.
In one possible embodiment, the second adjustment operation includes at least one of:
a long press operation acting on the attribute region, a double click operation acting on the attribute region, a drag operation acting on the attribute region.
In one possible implementation, a previous virtual resource in the set of target resources is partially occluded by a subsequent virtual resource;
The highlighting the target virtual resource corresponding to the target attribute area includes:
and tiling the target virtual resource corresponding to the target attribute area.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a display control device 400 in a game according to an embodiment of the application. As shown in fig. 4, the in-game display control device 400 is used for an electronic terminal capable of presenting a graphical user interface, wherein the graphical user interface comprises a virtual resource display area, and the method comprises the following steps:
A display module 410, configured to at least partially display a target resource set in the virtual resource display area, where the target resource set is an ordered set including at least two virtual resources, and an order of the virtual resources in the target resource set is determined according to an attribute of the virtual resources;
The control providing module 420 is configured to provide a display adjustment control in the graphical user interface, where the display adjustment control includes at least two attribute areas, and the attribute areas correspond to attributes of the virtual resource;
And the display control module 430 is configured to adjust a portion of the target resource set displayed in the virtual resource presentation area in response to a first adjustment operation for the display adjustment control.
In one possible implementation, the display control module 430 is further configured to:
And responding to a second adjustment operation aiming at the display adjustment control, determining a target attribute area in the display adjustment control, and highlighting a target virtual resource corresponding to the target attribute area.
In one possible implementation, the display control module 430 is specifically configured to, in response to a first adjustment operation for the display adjustment control, adjust a portion of the target resource set displayed in the virtual resource presentation area:
And responding to a first adjustment operation for the display adjustment control, and adjusting the part of the target resource set displayed in the virtual resource display area based on the action area of the first adjustment operation on the display adjustment control.
In one possible implementation, the attribute of the virtual resource includes at least one of:
the type of the virtual resource, the serial number of the virtual resource, the consumption value corresponding to the virtual resource and the online time of the virtual resource.
In one possible embodiment, the first adjustment operation includes at least one of:
And aiming at the drag operation of the slider sub-control in the display adjustment control, the click operation of the scroll bar control in the display adjustment control and the click operation of the attribute area.
In one possible embodiment, the second adjustment operation includes at least one of:
a long press operation acting on the attribute region, a double click operation acting on the attribute region, a drag operation acting on the attribute region.
In one possible implementation, a previous virtual resource in the set of target resources is partially occluded by a subsequent virtual resource; the display control module 430 is specifically configured to, when highlighting the target virtual resource corresponding to the target attribute area:
and tiling the target virtual resource corresponding to the target attribute area.
The display control device in the game provided by the embodiment of the application is used for an electronic terminal capable of presenting a graphical user interface, wherein the graphical user interface comprises a virtual resource display area, a target resource set is at least partially displayed in the virtual resource display area, the target resource set is an ordered set comprising at least two virtual resources, and the ordering of the virtual resources in the target resource set is determined according to the attribute of the virtual resources; providing a display adjustment control in a graphical user interface, wherein the display adjustment control comprises at least two attribute areas, and the attribute areas correspond to the attributes of the virtual resources; and adjusting the displayed part of the target resource set in the virtual resource display area in response to a first adjustment operation for the display adjustment control. The application can display the whole structure of the virtual resource to the user by generating the display adjustment control and displaying the attribute area on the adjustment control, so that the user can quickly position the virtual resource which the user wants to view through the attribute area, and the efficiency of displaying the virtual resource is improved.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the application. As shown in fig. 5, the electronic device 500 includes a processor 510, a memory 520, and a bus 530.
The memory 520 stores machine-readable instructions executable by the processor 510, which when executed by the processor 510, cause the processor 510 to communicate with the memory 520 via the bus 530 when the electronic device 500 is in operation, to perform the steps of:
Displaying a target resource set at least partially in the virtual resource display area, wherein the target resource set is an ordered set containing at least two virtual resources, and the ordering of the virtual resources in the target resource set is determined according to the attribute of the virtual resources;
providing a display adjustment control in a graphical user interface, wherein the display adjustment control comprises at least two attribute areas, and the attribute areas correspond to the attributes of the virtual resources;
And adjusting the displayed part of the target resource set in the virtual resource display area in response to a first adjustment operation for the display adjustment control.
In one possible implementation, the processor 510 further performs:
And responding to a second adjustment operation aiming at the display adjustment control, determining a target attribute area in the display adjustment control, and highlighting a target virtual resource corresponding to the target attribute area.
In one possible implementation, the processor 510, when executing the adjusting of the portion of the target resource set displayed in the virtual resource presentation area in response to the first adjusting operation for the display adjusting control, specifically executes:
And responding to a first adjustment operation for the display adjustment control, and adjusting the part of the target resource set displayed in the virtual resource display area based on the action area of the first adjustment operation on the display adjustment control.
In one possible implementation, the attribute of the virtual resource includes at least one of:
the type of the virtual resource, the serial number of the virtual resource, the consumption value corresponding to the virtual resource and the online time of the virtual resource.
In one possible embodiment, the first adjustment operation includes at least one of:
And aiming at the drag operation of the slider sub-control in the display adjustment control, the click operation of the scroll bar control in the display adjustment control and the click operation of the attribute area.
In one possible embodiment, the second adjustment operation includes at least one of:
a long press operation acting on the attribute region, a double click operation acting on the attribute region, a drag operation acting on the attribute region.
In one possible implementation, a previous virtual resource in the set of target resources is partially occluded by a subsequent virtual resource;
The processor 510 specifically performs, when executing the highlighting of the target virtual resource corresponding to the target attribute area:
and tiling the target virtual resource corresponding to the target attribute area.
The embodiment of the present application further provides a computer readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the steps of the display control method in the game in the method embodiment shown in fig. 1 may be executed, and the specific implementation manner may refer to the method embodiment and will not be described herein.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be other manners of division in actual implementation, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer readable storage medium executable by a processor. Based on this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Finally, it should be noted that: the above examples are only specific embodiments of the present application, and are not intended to limit the scope of the present application, but it should be understood by those skilled in the art that the present application is not limited thereto, and that the present application is described in detail with reference to the foregoing examples: any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or perform equivalent substitution of some of the technical features, while remaining within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application. Therefore, the protection scope of the application is subject to the protection scope of the claims.
Claims (9)
1. A display control method in a game, applied to an electronic terminal capable of presenting a graphical user interface, wherein the graphical user interface includes a virtual resource display area, the method comprising:
Displaying a target resource set at least partially in the virtual resource display area, wherein the target resource set is an ordered set containing at least two virtual resources, and the ordering of the virtual resources in the target resource set is determined according to the attribute of the virtual resources;
providing a display adjustment control in a graphical user interface, wherein the display adjustment control comprises at least two attribute areas, and the attribute areas correspond to the attributes of the virtual resources;
Responding to a first adjustment operation for the display adjustment control, and adjusting the displayed part of the target resource set in the virtual resource display area;
and responding to a second adjustment operation aiming at the display adjustment control, determining a target attribute area in the display adjustment control, and highlighting a target virtual resource corresponding to the target attribute area in the virtual resource display area.
2. The method of claim 1, wherein the adjusting the portion of the set of target resources displayed in the virtual resource presentation area in response to the first adjustment operation for the display adjustment control comprises:
And responding to a first adjustment operation for the display adjustment control, and adjusting the part of the target resource set displayed in the virtual resource display area based on the action area of the first adjustment operation on the display adjustment control.
3. The method of claim 1, wherein the attributes of the virtual resource comprise at least one of:
the type of the virtual resource, the serial number of the virtual resource, the consumption value corresponding to the virtual resource and the online time of the virtual resource.
4. The method of claim 1, wherein the first adjustment operation comprises at least one of:
And aiming at the drag operation of the slider sub-control in the display adjustment control, the click operation of the scroll bar control in the display adjustment control and the click operation of the attribute area.
5. The method of claim 1, wherein the second adjustment operation comprises at least one of:
a long press operation acting on the attribute region, a double click operation acting on the attribute region, a drag operation acting on the attribute region.
6. The method of claim 1, wherein a previous virtual resource in the set of target resources is partially occluded by a subsequent virtual resource;
The highlighting the target virtual resource corresponding to the target attribute area includes:
and tiling the target virtual resource corresponding to the target attribute area.
7. A display control apparatus in a game, for an electronic terminal capable of presenting a graphical user interface including a virtual resource presentation area therein, the apparatus comprising:
The display module is used for at least partially displaying a target resource set in the virtual resource display area, wherein the target resource set is an ordered set containing at least two virtual resources, and the ordering of the virtual resources in the target resource set is determined according to the attribute of the virtual resources;
The control providing module is used for providing a display adjustment control in the graphical user interface, wherein the display adjustment control comprises at least two attribute areas, and the attribute areas correspond to the attributes of the virtual resources;
The display control module is used for responding to a first adjustment operation for the display adjustment control and adjusting the part of the target resource set displayed in the virtual resource display area;
the display control module is further configured to: and responding to a second adjustment operation aiming at the display adjustment control, determining a target attribute area in the display adjustment control, and highlighting a target virtual resource corresponding to the target attribute area in the virtual resource display area.
8. An electronic device, comprising: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating over the bus when the electronic device is running, the processor executing the machine-readable instructions to perform the steps of the display control method in a game as claimed in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, performs the steps of the display control method in a game as claimed in any one of claims 1 to 6.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010664849.4A CN111773695B (en) | 2020-07-10 | 2020-07-10 | Display control method and device in game |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010664849.4A CN111773695B (en) | 2020-07-10 | 2020-07-10 | Display control method and device in game |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111773695A CN111773695A (en) | 2020-10-16 |
| CN111773695B true CN111773695B (en) | 2024-06-21 |
Family
ID=72767334
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010664849.4A Active CN111773695B (en) | 2020-07-10 | 2020-07-10 | Display control method and device in game |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111773695B (en) |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112807670B (en) * | 2021-02-03 | 2024-07-23 | 网易(杭州)网络有限公司 | Interaction method and device for virtual card game, electronic equipment and storage medium |
| CN113521739B (en) * | 2021-08-13 | 2024-09-06 | 网易(杭州)网络有限公司 | Method, device, computer equipment and storage medium for adjusting object attribute |
| CN113769375B (en) * | 2021-09-15 | 2024-08-06 | 网易(杭州)网络有限公司 | Game control processing method and device, terminal equipment and readable storage medium |
| CN114130016B (en) * | 2021-12-07 | 2023-07-14 | 腾讯科技(深圳)有限公司 | Control resource management method and related device |
| CN114917580A (en) * | 2022-05-25 | 2022-08-19 | 网易(杭州)网络有限公司 | Display control method and device of virtual card, electronic equipment and readable medium |
| CN115120963B (en) * | 2022-07-14 | 2025-07-25 | 网易(杭州)网络有限公司 | Virtual object adjusting method and device, electronic equipment and storage medium |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102955789A (en) * | 2011-08-22 | 2013-03-06 | 幻音科技(深圳)有限公司 | Resource display method and resource display system |
| CN109800047A (en) * | 2019-01-18 | 2019-05-24 | 网易(杭州)网络有限公司 | Switching method and device, the storage medium and electronic equipment of technical ability in game |
Family Cites Families (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008304967A (en) * | 2007-06-05 | 2008-12-18 | Konami Digital Entertainment:Kk | Image display control device, game device and program |
| JP4720878B2 (en) * | 2008-08-29 | 2011-07-13 | ソニー株式会社 | Information processing apparatus and method, and program |
| JP5113943B1 (en) * | 2012-02-28 | 2013-01-09 | 株式会社 ディー・エヌ・エー | Game providing device |
| CN105159526B (en) * | 2015-08-25 | 2018-09-11 | 网易(杭州)网络有限公司 | The displaying control method and device of virtual objects in a kind of interface |
| WO2018103516A1 (en) * | 2016-12-06 | 2018-06-14 | 腾讯科技(深圳)有限公司 | Method of acquiring virtual resource of virtual object, and client |
| US10747386B2 (en) * | 2017-06-01 | 2020-08-18 | Samsung Electronics Co., Ltd. | Systems and methods for window control in virtual reality environment |
| CN108459811B (en) * | 2018-01-09 | 2021-03-16 | 网易(杭州)网络有限公司 | Method and device for processing virtual prop, electronic equipment and storage medium |
| CN108888956B (en) * | 2018-06-27 | 2022-02-25 | 腾讯科技(深圳)有限公司 | Display method, equipment and storage medium of virtual backpack display interface |
| CN109939433B (en) * | 2019-03-11 | 2022-09-30 | 网易(杭州)网络有限公司 | Operation control method and device of virtual card, storage medium and electronic equipment |
| CN110339572B (en) * | 2019-07-16 | 2022-10-04 | 网易(杭州)网络有限公司 | Method and device for editing card group in game and electronic equipment |
| CN110851043B (en) * | 2019-11-14 | 2021-05-11 | 腾讯科技(深圳)有限公司 | Page display method and device, storage medium and electronic device |
| CN111265885B (en) * | 2020-01-21 | 2022-01-04 | 腾讯科技(深圳)有限公司 | Resource display method, resource sending method, device, equipment and storage medium |
-
2020
- 2020-07-10 CN CN202010664849.4A patent/CN111773695B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102955789A (en) * | 2011-08-22 | 2013-03-06 | 幻音科技(深圳)有限公司 | Resource display method and resource display system |
| CN109800047A (en) * | 2019-01-18 | 2019-05-24 | 网易(杭州)网络有限公司 | Switching method and device, the storage medium and electronic equipment of technical ability in game |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111773695A (en) | 2020-10-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111773695B (en) | Display control method and device in game | |
| CN107222315B (en) | User information display method and system based on voice communication platform | |
| WO2019041779A1 (en) | Terminal interface switching, moving and gesture processing method and device and terminal | |
| US20140013212A1 (en) | Dynamic template galleries | |
| CN107704241B (en) | Display method and device for page state switching | |
| CN112114734B (en) | Online document display method, device, terminal and storage medium | |
| CN112286612B (en) | Information display method and device and electronic equipment | |
| CN109569214B (en) | Application display method and device in split screen mode and display equipment | |
| CN112558831A (en) | Desktop sorting method and device and electronic equipment | |
| CN112333240A (en) | Message push display method and device, readable storage medium and computer equipment | |
| CN113941152B (en) | Virtual object control method, device, electronic device and storage medium | |
| CN113509728B (en) | Card display control method, device, equipment and storage medium | |
| CN108710457A (en) | Interaction method and terminal equipment | |
| CN111603757B (en) | Processing method, device and equipment for equipment in game | |
| CN113268182A (en) | Application icon management method and electronic equipment | |
| CN109358927B (en) | Application program display method, device and terminal device | |
| CN105117247B (en) | A kind of display control method and device, electronic equipment | |
| CN112057855B (en) | Game interface display method, game interface display device, game client and medium | |
| CN111782113B (en) | Display method, display device and computer-readable storage medium | |
| CN112764862A (en) | Application program control method and device and electronic equipment | |
| CN113134234A (en) | Information display method, device, terminal and storage medium | |
| JP6528400B2 (en) | INFORMATION PROCESSING APPARATUS, INFORMATION PROCESSING SYSTEM, CONTROL METHOD OF INFORMATION PROCESSING APPARATUS, AND PROGRAM | |
| CN114780504B (en) | Web end interaction management method and device, storage medium and electronic equipment | |
| CN116983614A (en) | Game resource extraction method and device, electronic equipment and readable storage medium | |
| CN116795254A (en) | Interaction method, device, terminal and medium of status bar icon and shortcut card |
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 | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |