CN115518378A - Method and device for displaying virtual article in game, electronic equipment and storage medium - Google Patents

Method and device for displaying virtual article in game, electronic equipment and storage medium Download PDF

Info

Publication number
CN115518378A
CN115518378A CN202211236759.0A CN202211236759A CN115518378A CN 115518378 A CN115518378 A CN 115518378A CN 202211236759 A CN202211236759 A CN 202211236759A CN 115518378 A CN115518378 A CN 115518378A
Authority
CN
China
Prior art keywords
virtual
user interface
item
graphical user
display
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.)
Pending
Application number
CN202211236759.0A
Other languages
Chinese (zh)
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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202211236759.0A priority Critical patent/CN115518378A/en
Publication of CN115518378A publication Critical patent/CN115518378A/en
Pending legal-status Critical Current

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/53Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
    • A63F13/533Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game for prompting the player, e.g. by displaying a game menu
    • 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/70Game security or game management aspects
    • A63F13/77Game security or game management aspects involving data related to game devices or game servers, e.g. configuration data, software version or amount of memory

Abstract

The application provides a method, a device, electronic equipment and a storage medium for displaying virtual articles in games, wherein a terminal provides a graphical user interface, the content displayed by the graphical user interface comprises a virtual character view angle picture obtained by observing a virtual scene with a virtual character view angle, and the method comprises the following steps: in response to the first viewing instruction, controlling display of a display list of the first virtual item on the graphical user interface; the display list of the first virtual article comprises at least one first virtual article, wherein the distance between the first virtual article and the virtual character in the virtual scene is smaller than a preset distance threshold; in response to the second viewing instruction, controlling to display a display list of the second virtual item on the graphical user interface; and the display list of the first virtual item comprises at least one second virtual item, and the distance between the second virtual item and the virtual character in the virtual scene is greater than or equal to a distance threshold value.

Description

Method and device for displaying virtual article in game, electronic equipment and storage medium
Technical Field
The present application relates to the field of electronic digital data processing technologies, and in particular, to a method and an apparatus for displaying a virtual object in a game, an electronic device, and a storage medium.
Background
In the existing three-dimensional scene game, a user controls a virtual character to pick up a virtual article in a virtual scene is a very frequent operation in a game office, and usually most of the time in the game office of the user is used for searching for the virtual article and picking up the virtual article. In the prior art, a user can only see a display list of virtual articles near the virtual character, that is, the user controls the virtual character to move near the virtual article, clicks a corresponding pickup button, and pops up the display list of the virtual articles near the virtual character on a user graphical interface. For virtual articles hidden or sparsely visible at a far position in a virtual scene, a user cannot intuitively know what virtual articles exist at a far position in the virtual scene or what categories the sparsely visible virtual articles are, and the user needs to control the virtual character to go to the vicinity of the virtual character to check, so that the game time of the user is wasted, and the game experience of the user is influenced.
Disclosure of Invention
In view of this, an object of the present application is to provide a method, an apparatus, an electronic device, and a storage medium for displaying a virtual object in a game, so as to solve a problem that a user directly views a near virtual object and a far virtual object in a virtual scene.
Based on the above object, the present application provides a method for displaying a virtual object in a game, in which a terminal provides a graphical user interface, and the content displayed by the graphical user interface includes a virtual character view angle picture obtained by observing a virtual scene at a virtual character view angle, and the method includes:
in response to a first viewing instruction, controlling display of a display list of a first virtual item on the graphical user interface; the display list of the first virtual article comprises at least one first virtual article, wherein the distance between the first virtual article and the virtual character in the virtual scene is smaller than a preset distance threshold;
in response to a second viewing instruction, controlling display of a display list of a second virtual item on the graphical user interface; wherein the display list of the first virtual article comprises at least one second virtual article which is in the virtual scene and is away from the virtual character by more than or equal to the distance threshold value.
Based on the same object, the present application further provides a device for displaying virtual objects in a game, wherein a terminal provides a graphical user interface, and the content displayed on the graphical user interface includes a virtual character view angle picture obtained by observing a virtual scene at a virtual character view angle, and the device includes:
a first presentation module configured to control display of a presentation list of a first virtual item on the graphical user interface in response to a first viewing instruction; the display list of the first virtual article comprises at least one first virtual article, wherein the distance between the first virtual article and the virtual character in the virtual scene is smaller than a preset distance threshold;
a second presentation module configured to control display of a presentation list of a second virtual item on the graphical user interface in response to a second viewing instruction; wherein the display list of the first virtual item comprises at least one second virtual item which is in the virtual scene and is away from the virtual character by more than or equal to the distance threshold value.
In view of the foregoing objects, there is also provided an electronic device including a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method for displaying a virtual object in a game as described in any one of the above.
In view of the above, the present application further provides a non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the virtual item display method in a game according to any one of the above.
As can be seen from the above, the method, the apparatus, the electronic device, and the storage medium for displaying virtual items in a game provided by the present application provide a graphical user interface through a terminal, where the content displayed on the graphical user interface includes a virtual character view angle picture obtained by observing a virtual scene at a virtual character view angle, and control a display list of a first virtual item to be displayed on the graphical user interface in response to a first viewing instruction; the display list of the first virtual article comprises at least one first virtual article, wherein the distance between the first virtual article and the virtual character in the virtual scene is smaller than a preset distance threshold; in response to the second viewing instruction, controlling display of a display list of the second virtual item on the graphical user interface; and the display list of the first virtual item comprises at least one second virtual item, and the distance between the second virtual item and the virtual character in the virtual scene is greater than or equal to a distance threshold value. According to the method, the device, the electronic equipment and the storage medium for displaying the virtual articles in the game, a display list of the first virtual articles with the distance between the first virtual article and the virtual character being smaller than a preset distance threshold value in a virtual scene can be provided for a user on a graphical user interface according to a first viewing instruction, a display list of the second virtual article with the distance between the second virtual article and the virtual character being larger than or equal to the preset distance threshold value in the virtual scene can be provided for the user on the graphical user interface according to a second viewing instruction, and the display list of the second virtual article with the distance between the second virtual article and the virtual character being larger than or equal to the preset distance threshold value in the virtual scene can be directly viewed even if the user does not control the virtual character to move to the vicinity of the second virtual article.
Drawings
In order to more clearly illustrate the technical solutions in the present application or the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only the present application, and that other drawings can be obtained by those skilled in the art without inventive efforts.
Fig. 1 is a schematic view of an application scenario of a method for displaying a virtual article in a game according to an embodiment of the present application.
Fig. 2 is a schematic view of another application scenario of the method for displaying a virtual article in a game according to the embodiment of the present application.
Fig. 3 is a schematic flow chart of a method for displaying a virtual object in a game according to an embodiment of the present disclosure.
Fig. 4 is a schematic view of a display list of a first virtual article according to an embodiment of the present application.
Fig. 5 is a schematic view of a display list of a second virtual article according to an embodiment of the present application.
Fig. 6 is a schematic diagram of a guidance route provided in an embodiment of the present application.
Fig. 7 is a schematic structural diagram of a virtual article display device in a game according to an embodiment of the present application.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device according to this embodiment.
Detailed Description
To make the objects, technical solutions and advantages of the present application more apparent, the principles and spirit of the present application will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are given solely for the purpose of enabling those skilled in the art to better understand and to practice the present application, and are not intended to limit the scope of the present application in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
According to the embodiment of the application, a method and a device for displaying virtual articles in a game, electronic equipment and a storage medium are provided.
In this document, it is to be understood that any number of elements in the figures are provided by way of illustration and not limitation, and any nomenclature is used for differentiation only and not in any limiting sense.
It should be noted that technical terms or scientific terms used in the embodiments of the present application should have a general meaning as understood by those having ordinary skill in the art to which the present application belongs, unless otherwise defined. The use of "first," "second," and similar terms in the embodiments of the present application do not denote any order, quantity, or importance, but rather the terms are used to distinguish one element from another. The word "comprising" or "comprises", and the like, means that the element or item listed before the word covers the element or item listed after the word and its equivalents, but does not exclude other elements or items. The terms "connected" or "coupled" and the like are not restricted to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "upper", "lower", "left", "right", and the like are used merely to indicate relative positional relationships, and when the absolute position of the object being described is changed, the relative positional relationships may also be changed accordingly.
The principles and spirit of the present application are explained in detail below with reference to several representative embodiments thereof.
Referring to fig. 1, a schematic view of an application scenario of a method for displaying a virtual article in a game according to an embodiment of the present application is provided.
The application scenario includes a terminal device 101.
The terminal device includes, but is not limited to, a desktop computer, a mobile phone, a mobile computer, a tablet computer, a media player, a smart wearable device, a Personal Digital Assistant (PDA), or other electronic devices capable of implementing the above functions.
The terminal device 101 is configured to provide a graphical user interface, where content displayed by the graphical user interface includes a virtual character view angle picture obtained by observing a virtual scene with a virtual character view angle controlled by the terminal device 101.
Wherein, a virtual character refers to a movable object in a virtual scene. The movable object may be at least one of a virtual character, a virtual animal, an animation character. Alternatively, when the virtual scene is a three-dimensional virtual scene, the virtual character may be a three-dimensional stereo model. Each virtual character has its own shape and volume in the three-dimensional virtual scene, and occupies a part of the space in the three-dimensional virtual scene. Optionally, the virtual character is a three-dimensional character constructed based on three-dimensional human skeleton technology, and the virtual character realizes different external images by wearing different virtual skins or virtual articles. In some implementations, the virtual role can also be implemented by using a 2.5-dimensional or 2-dimensional model, which is not limited in this application.
The virtual object refers to a prop which can be used by a virtual character in a virtual scene, and the virtual object comprises at least one of a functional prop and virtual equipment. In the present application, virtual articles are used to change the attribute values of virtual characters in a virtual scene. For example, virtual items include launch-like virtual items, near-use-like virtual items, and launch-like virtual items.
In addition, the terminal device 101 has certain data storage and data operation capabilities.
The virtual article display method in the game according to the exemplary embodiment of the present application is described below with reference to the application scenario of fig. 1. It should be noted that the above application scenarios are only presented to facilitate understanding of the spirit and principles of the present application, and the embodiments of the present application are not limited in this respect. Rather, embodiments of the present application may be applied to any scenario where applicable.
Referring to fig. 2, a schematic view of another application scenario of the method for displaying a virtual article in a game according to the embodiment of the present application is shown.
The application scenario includes a terminal device 101, a server 102, and a data storage system 103. The terminal device 101, the server 102, and the data storage system 103 may be connected through a wired or wireless communication network.
The terminal device 101 includes, but is not limited to, a desktop computer, a mobile phone, a mobile computer, a tablet computer, a media player, a smart wearable device, a Personal Digital Assistant (PDA), or other electronic devices capable of implementing the above functions.
The server 102 is used for providing data operation service for the terminal device.
The data storage system 103 is used for providing data storage service for the terminal device.
The data storage system and the server can be independent physical servers, can also be a server cluster or distributed system formed by a plurality of physical servers, and can also be cloud servers for providing basic cloud computing services such as cloud service, a cloud database, cloud computing, cloud functions, cloud storage, network service, cloud communication, middleware service, domain name service, security service, CDN (content distribution network) and big data and artificial intelligence platforms.
The virtual article display method in the game according to the exemplary embodiment of the present application is described below with reference to the application scenario of fig. 2. It should be noted that the above application scenarios are only presented to facilitate understanding of the spirit and principles of the present application, and the embodiments of the present application are not limited in this respect. Rather, embodiments of the present application may be applied to any scenario where applicable.
Referring to fig. 3, a schematic flow chart of a method for displaying a virtual object in a game according to an embodiment of the present application is shown.
A method for displaying virtual articles in a game provides a graphical user interface through a terminal, and the content displayed by the graphical user interface comprises a virtual character view angle picture obtained by observing a virtual scene at a virtual character view angle.
The virtual article display method in the game comprises the following steps:
step S301, responding to a first viewing instruction, and controlling a display list of a first virtual article to be displayed on the graphical user interface; the display list of the first virtual article comprises at least one first virtual article, wherein the distance between the first virtual article and the virtual character in the virtual scene is smaller than a preset distance threshold value.
Step S302, responding to a second viewing instruction, and controlling a display list of a second virtual article to be displayed on the graphical user interface; wherein the display list of the first virtual item comprises at least one second virtual item which is in the virtual scene and is away from the virtual character by more than or equal to the distance threshold value.
The first virtual object refers to a virtual object, in a virtual scene, of which the distance between the first virtual object and a virtual character operated by a user is smaller than a preset distance threshold, and it can be understood that, in the virtual scene, the first virtual object is a prop close to the virtual character.
The second virtual object is a virtual object, in a virtual scene, a distance between the second virtual object and a virtual character operated by a user is greater than or equal to a preset distance threshold, and it can be understood that, in the virtual scene, the second virtual object is a prop far away from the virtual character.
The preset distance threshold may be set by the game server, and the actual meaning of the preset distance threshold is background data of the game server, which represents the distance between the virtual character and the virtual object in the virtual scene.
In some exemplary embodiments, how close a virtual item is to a virtual character is a key point in determining whether the virtual item is a first virtual item or a second virtual item; the method further comprises the following steps:
for any virtual article in the virtual scene, acquiring the distance between the virtual character and the virtual article;
in response to the distance being less than the distance threshold, determining that the virtual item is a first virtual item;
determining that the virtual item is a second virtual item in response to the distance being greater than or equal to the distance threshold.
In some exemplary embodiments, a circular confirmation area may be further set with the virtual character as a center and preset data as a radius, and as the virtual character moves, when the virtual object is located within the circular confirmation area or at a boundary of the circular confirmation area, the virtual object may be confirmed as a first virtual object, and when the virtual object is located outside the circular confirmation area, the virtual object may be confirmed as a second virtual object.
Referring to fig. 4, a schematic view of a display list of a first virtual item provided in the embodiment of the present application is shown.
In some exemplary embodiments, the content displayed by the graphical user interface further comprises a view control; the method further comprises the following steps:
and responding to a first touch operation aiming at the viewing control, generating the first viewing instruction, and controlling to display a display list of the first virtual article on the graphical user interface through the first viewing instruction.
In some exemplary embodiments, the first touch operation includes: dragging the viewing control to a first designated area or triggering the viewing control, wherein the triggering time is less than the preset triggering time.
When the viewing control is dragged to the first designated area, the game server can detect the first touch operation and make an interactive response to the first touch operation.
Illustratively, the first designated area may be a left screen area preconfigured for the graphical user interface. The shape and size of the left screen area may be specifically configured as desired.
The preset trigger time may be set by the game server, and is essentially background data of the game server, and is used for determining whether the operation of the user is the first touch operation. For example, the first touch operation of the user is that the user clicks the view control, and the trigger time for the view control may be short and less than the preset trigger time.
And responding to a second touch operation aiming at the viewing control, generating the second viewing instruction, and controlling to display the display list of the second virtual article on the graphical user interface through the second viewing instruction.
Referring to fig. 5, a schematic view of a display list of a second virtual article according to an embodiment of the present application is provided.
In some exemplary embodiments, the second touch operation includes: dragging the viewing control to a second designated area or triggering the viewing control, wherein the triggering time is greater than or equal to the triggering time.
The second designated area may be set by the game server, and may be designed according to the layout or area of the graphical user interface in proportion, where the second designated area is different from the first designated area in the upper position of the graphical user interface, and when the viewing control is dragged to the second designated area, the game server may detect the second touch operation and make an interactive response to the second touch operation.
Illustratively, the second designated area may be a right screen area preconfigured for the graphical user interface. The shape and size of the right screen area may be specifically configured as desired.
In order to avoid the occurrence of the false touch, the distance between the second designated area and the first designated area may be set to be longer, but the distances between the viewing control and the second designated area and the viewing control are equal.
The preset trigger time may be set by the game server, and is essentially background data of the game server, and is used for determining whether the operation of the user is the second touch operation. For example, the first touch operation of the user is the viewing control of the user, and the trigger time of the viewing control may be long, and is greater than or equal to the preset trigger time.
In some exemplary embodiments, the method further comprises:
in response to a selection operation for the first virtual item in the first virtual item display list, controlling display of a selection identifier for the first virtual item in the first virtual item display list;
and controlling the virtual character to pick up the first virtual item corresponding to the selection identification.
In a specific implementation, for the display list of the first virtual item near the virtual character, if the user performs a selection operation on the first virtual item in the display list, a corresponding selection identifier may be displayed in the list.
In some exemplary embodiments, the representation form of the first virtual article in the first virtual article display list may be presented in a self-equal-scale thumbnail manner, or may be presented using other representative pictures, texts, symbols and other identifiers according to the actual situation.
In some exemplary embodiments, the selection operation may be a user clicking, double clicking, dragging, etc. on a first virtual item in the first virtual item display list.
In some exemplary embodiments, for a marked first virtual item in the first virtual item presentation list, the user may control the virtual character to pick it up.
In some exemplary embodiments, the method further comprises:
in response to a locking operation for the second virtual item in the second virtual item display list, controlling display of a first locking identification for the second virtual item in the second virtual item display list; control display of a second lock identification for the second virtual item in the virtual scene;
generating and controlling a guide route for the second virtual prop to be displayed on the graphical user interface in response to a trigger operation for the first locking identifier; wherein the starting point of the guide route is the position of the virtual character in the game scene, and the end point of the guide route is the position of the second virtual prop in the game scene; the guiding route is used for guiding the virtual character to pick up the second virtual prop.
In a specific implementation, for a display list of a second virtual article with a far virtual character, if a user locks the second virtual article in the display list, a corresponding first locking identifier may be displayed in the list, and at the same time, a second locking identifier corresponding to the locked second virtual article is controlled to be displayed in a map of a virtual scene.
In some exemplary embodiments, the representation of the second virtual article in the second virtual article display list may be presented in the form of self-proportional thumbnail, or may be presented using other representative pictures, words, symbols, and other identifiers according to actual situations.
In some exemplary embodiments, the locking operation may be a user clicking, double clicking, or selecting the second virtual item in the second virtual item display list.
The first locking identifier is used for representing that a certain second virtual article in the display list of the second virtual article is selected, and the second locking identifier is used for representing that the second virtual article in the virtual scene is selected and simply marking the position of the second virtual article in the virtual scene.
In some exemplary embodiments, when the user triggers the first locking identification, the game server may generate a corresponding guiding route for the second virtual item, and control to display the guiding route on the graphical user interface, where the guiding route may be a closest distance route calculated by the game server according to the current position of the virtual character and the current position of the locked second virtual item, may also be a farthest distance route, and may also be a challenging and interesting guiding route generated according to an NPC indication in a virtual map in the game. The user can control the virtual character to pick up the second virtual prop according to the guide route.
Referring to fig. 6, a schematic diagram of a guiding route provided in an embodiment of the present application is shown.
In some exemplary embodiments, the method further comprises:
and in response to an automatic route finding instruction for the guide route, controlling the virtual character to pick up the second virtual prop according to the guide route.
In a specific implementation, after a certain second virtual item in the display list of the second virtual item is locked, since the distance between the virtual item and the virtual character is far, in order to ensure the interest and fairness of a game, an automatic path finding instruction for the guiding route needs to be issued, and further, the game server controls the virtual character to pick up the second virtual item according to the automatic path finding instruction.
In some exemplary embodiments, the content displayed by the graphical user interface further comprises an automatic routing control; the method further comprises the following steps:
and responding to the triggering operation of the automatic path finding control, generating the automatic path finding instruction, and controlling the virtual role to pick up the second virtual prop according to the guide route through the automatic path finding instruction.
In some exemplary embodiments, the method further comprises:
in response to a viewing operation for the first virtual item, controlling display of a first information display frame of the first virtual item on the graphical user interface; the first information display frame displays attribute information of the first virtual prop;
in response to a viewing operation for the second virtual item, controlling a second information display frame of the second virtual item to be displayed on the graphical user interface; the second information display frame displays attribute information of the second virtual prop and position prompt information of the second virtual prop in the virtual scene, and the position prompt information is used for representing the position of the second virtual prop in the virtual scene.
Wherein the attribute information may, but is not limited to, characterize the type, color, shape, use, and level of value of the virtual item in the game. And the position prompt information is used for representing the position of the second virtual prop in the virtual scene.
As an optional embodiment, when the user does not need to search for the second virtual item according to the guiding route, the user may freely select the route to pick up the prop according to the position prompt information, or the user may only know the position of the prop in the virtual scene and determine whether to pick up the prop according to the actual demand.
As can be seen from the above, the method for displaying virtual articles in a game provided by the present application provides a graphical user interface through a terminal, where the content displayed on the graphical user interface includes a virtual character view angle picture obtained by observing a virtual scene at a virtual character view angle, and controls a display list of a first virtual article to be displayed on the graphical user interface in response to a first viewing instruction; the display list of the first virtual article comprises at least one first virtual article, wherein the distance between the first virtual article and the virtual character in the virtual scene is smaller than a preset distance threshold; in response to the second viewing instruction, controlling to display a display list of the second virtual item on the graphical user interface; and the display list of the first virtual item comprises at least one second virtual item, and the distance between the second virtual item and the virtual character in the virtual scene is greater than or equal to a distance threshold value. According to the method, the device, the electronic equipment and the storage medium for displaying the virtual articles in the game, a display list of the first virtual articles, of which the distance between the first virtual articles and the virtual character in the virtual scene is smaller than a preset distance threshold value, can be provided for a user on a graphical user interface according to a first viewing instruction, a display list of the second virtual articles, of which the distance between the second virtual articles and the virtual character in the virtual scene is larger than or equal to the preset distance threshold value, can be provided for the user on the graphical user interface according to a second viewing instruction, and for the second virtual articles, of which the distance between the second virtual articles and the virtual character in the virtual scene is larger than or equal to the preset distance threshold value, the display list of the second virtual articles can be directly viewed even if the user does not control the virtual character to walk to the vicinity of the second virtual articles.
It should be noted that the method of the embodiment of the present application may be executed by a single device, such as a computer or a server. The method of the embodiment can also be applied to a distributed scene and completed by the mutual cooperation of a plurality of devices. In such a distributed scenario, one of the multiple devices may only perform one or more steps of the method of the embodiment, and the multiple devices interact with each other to complete the method.
It should be noted that the above describes some embodiments of the present application. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments described above and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
Based on the same inventive concept, corresponding to the method of any embodiment, the application also provides a virtual article display device in the game.
Referring to fig. 7, a schematic structural diagram of a virtual article display device in a game according to an embodiment of the present application is provided.
A virtual article display device in a game provides a graphical user interface through a terminal, the content displayed by the graphical user interface comprises a virtual character view angle picture obtained by observing a virtual scene at a virtual character view angle, and the device comprises:
a first presentation module 701 configured to control display of a presentation list of a first virtual item on the graphical user interface in response to a first viewing instruction; the display list of the first virtual article comprises at least one first virtual article, wherein the distance between the first virtual article and the virtual character in the virtual scene is smaller than a preset distance threshold;
a second presentation module 702 configured to control display of a presentation list of a second virtual item on the graphical user interface in response to a second viewing instruction; wherein the display list of the first virtual item comprises at least one second virtual item which is in the virtual scene and is away from the virtual character by more than or equal to the distance threshold value.
For convenience of description, the above devices are described as being divided into various modules by functions, which are described separately. Of course, the functionality of the various modules may be implemented in the same one or more software and/or hardware implementations as the present application.
The device of the above embodiment is used for implementing the virtual article display method in the game corresponding to any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which are not described herein again.
Based on the same inventive concept, corresponding to the method of any embodiment, the application further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and when the processor executes the program, the method for displaying a virtual object in a game according to any embodiment is implemented.
Fig. 8 is a schematic diagram illustrating a more specific hardware structure of an electronic device according to this embodiment, where the electronic device may include: a processor 1010, a memory 1020, an input/output interface 1030, a communication interface 1040, and a bus 1050. Wherein the processor 1010, memory 1020, input/output interface 1030, and communication interface 1040 are communicatively coupled to each other within the device via bus 1050.
The processor 1010 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the technical solutions provided in the embodiments of the present disclosure.
The Memory 1020 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, or the like. The memory 1020 may store an operating system and other application programs, and when the technical solution provided by the embodiments of the present specification is implemented by software or firmware, the relevant program codes are stored in the memory 1020 and called to be executed by the processor 1010.
The input/output interface 1030 is used for connecting an input/output module to input and output information. The input/output module may be configured as a component in a device (not shown) or may be external to the device to provide a corresponding function. The input devices may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices may include a display, a speaker, a vibrator, an indicator light, etc.
The communication interface 1040 is used for connecting a communication module (not shown in the drawings) to implement communication interaction between the present apparatus and other apparatuses. The communication module can realize communication in a wired mode (such as USB, network cable and the like) and also can realize communication in a wireless mode (such as mobile network, WIFI, bluetooth and the like).
Bus 1050 includes a path that transfers information between various components of the device, such as processor 1010, memory 1020, input/output interface 1030, and communication interface 1040.
It should be noted that although the above-mentioned device only shows the processor 1010, the memory 1020, the input/output interface 1030, the communication interface 1040 and the bus 1050, in a specific implementation, the device may also include other components necessary for normal operation. In addition, those skilled in the art will appreciate that the above-described apparatus may also include only those components necessary to implement the embodiments of the present description, and not necessarily all of the components shown in the figures.
The electronic device of the above embodiment is used to implement the virtual article display method in the game corresponding to any one of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiment, which are not described herein again.
Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application further provides a non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the method for displaying a virtual item in a game according to any of the above-mentioned embodiments.
The non-transitory computer readable storage medium may be any available medium or data storage device that can be accessed by a computer, including but not limited to magnetic memory (e.g., floppy disks, hard disks, magnetic tape, magneto-optical disks (MOs), etc.), optical memory (e.g., CDs, DVDs, BDs, HVDs, etc.), and semiconductor memory (e.g., ROMs, EPROMs, EEPROMs, non-volatile memory (NAND FLASH), solid State Disks (SSDs)), etc.
The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the method for displaying virtual articles in a game according to any one of the above exemplary method embodiments, and have the beneficial effects of the corresponding method embodiments, which are not described herein again.
As will be appreciated by one skilled in the art, embodiments of the present application may be embodied as a system, method or computer program product. Thus, the present application may be embodied in the form of: entirely hardware, entirely software (including firmware, resident software, micro-code, etc.) or a combination of hardware and software, and is referred to herein generally as a "circuit," module "or" system. Furthermore, in some embodiments, the present application may also be embodied in the form of a computer program product in one or more computer-readable media having computer-readable program code embodied therein.
Any combination of one or more computer-readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive example) of the computer readable storage medium may include, for example: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable medium that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable medium produce an article of manufacture including instruction means which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
Further, while the operations of the methods of the present application are depicted in the drawings in a particular order, this does not require or imply that these operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Rather, the steps depicted in the flowcharts may change the order of execution. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
Use of the verbs "comprise", "comprise" and their conjugations in this application does not exclude the presence of elements or steps other than those stated in this application. The article "a" or "an" preceding an element does not exclude the presence of a plurality of such elements.
While the spirit and principles of the application have been described with reference to several particular embodiments, it is to be understood that the application is not limited to the disclosed embodiments, nor is the division of aspects, which is for convenience only as the features in such aspects may not be combined to benefit from the description. The application is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.

Claims (12)

1. A method for displaying virtual objects in a game is characterized in that a terminal provides a graphical user interface, the content displayed by the graphical user interface comprises virtual character view angle pictures obtained by observing a virtual scene from a virtual character view angle, and the method comprises the following steps:
in response to a first viewing instruction, controlling display of a display list of a first virtual item on the graphical user interface; the display list of the first virtual article comprises at least one first virtual article, wherein the distance between the first virtual article and the virtual character in the virtual scene is smaller than a preset distance threshold;
in response to a second viewing instruction, controlling display of a display list of a second virtual item on the graphical user interface; wherein the display list of the first virtual item comprises at least one second virtual item which is in the virtual scene and is away from the virtual character by more than or equal to the distance threshold value.
2. The method of claim 1, further comprising:
for any virtual article in the virtual scene, acquiring the distance between the virtual character and the virtual article;
in response to the distance being less than the distance threshold, determining that the virtual item is a first virtual item;
determining that the virtual item is a second virtual item in response to the distance being greater than or equal to the distance threshold.
3. The method of claim 1, wherein the content displayed by the graphical user interface further comprises a view control; the method further comprises the following steps:
responding to a first touch operation aiming at the viewing control, generating the first viewing instruction, and controlling to display a display list of the first virtual article on the graphical user interface through the first viewing instruction;
and responding to a second touch operation aiming at the viewing control, generating the second viewing instruction, and controlling to display the display list of the second virtual article on the graphical user interface through the second viewing instruction.
4. The method of claim 3, wherein the first touch operation comprises: dragging the viewing control to a first specified area or triggering the viewing control, wherein the triggering time is less than the preset triggering time;
the second touch operation includes: dragging the viewing control to a second designated area or triggering the viewing control, wherein the triggering time is greater than or equal to the triggering time.
5. The method of claim 1, further comprising:
in response to a selection operation for the first virtual item in the first virtual item display list, controlling display of a selection identifier for the first virtual item in the first virtual item display list;
and controlling the virtual character to pick up the first virtual item corresponding to the selection identification.
6. The method of claim 1, further comprising:
in response to a locking operation for the second virtual item in the second virtual item display list, controlling display of a first locking identification for the second virtual item in the second virtual item display list; control display of a second lock identification for the second virtual item in the virtual scene;
generating and controlling a guide route for the second virtual prop to be displayed on the graphical user interface in response to a triggering operation for the first locking identifier; wherein the starting point of the guide route is the position of the virtual character in the game scene, and the end point of the guide route is the position of the second virtual prop in the game scene; the guiding route is used for guiding the virtual character to pick up the second virtual prop.
7. The method of claim 6, further comprising:
and in response to an automatic route finding instruction for the guide route, controlling the virtual character to pick up the second virtual prop according to the guide route.
8. The method of claim 7, the content displayed by the graphical user interface further comprising an automatic routing control; the method further comprises the following steps:
and responding to the triggering operation aiming at the automatic route searching control, generating the automatic route searching instruction, and controlling the virtual character to pick up the second virtual prop according to the guiding route through the automatic route searching instruction.
9. The method of claim 1, further comprising:
in response to a viewing operation for the first virtual item, controlling display of a first information display frame of the first virtual item on the graphical user interface; the first information display frame displays attribute information of the first virtual prop;
in response to a viewing operation for the second virtual item, controlling a second information display frame of the second virtual item to be displayed on the graphical user interface; the second information display frame displays attribute information of the second virtual prop and position prompt information of the second virtual prop in the virtual scene, and the position prompt information is used for representing the position of the second virtual prop in the virtual scene.
10. An apparatus for displaying a virtual object in a game, wherein a terminal provides a graphical user interface, and the content displayed by the graphical user interface includes a virtual character perspective view obtained by observing a virtual scene from a virtual character perspective, the apparatus comprising:
a first presentation module configured to control display of a presentation list of a first virtual item on the graphical user interface in response to a first viewing instruction; the display list of the first virtual article comprises at least one first virtual article, wherein the distance between the first virtual article and the virtual character in the virtual scene is smaller than a preset distance threshold;
a second presentation module configured to control display of a presentation list of a second virtual item on the graphical user interface in response to a second viewing instruction; wherein the display list of the first virtual article comprises at least one second virtual article which is in the virtual scene and is away from the virtual character by more than or equal to the distance threshold value.
11. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1 to 9 when executing the program.
12. A computer-readable storage medium storing computer instructions for causing a computer to perform the method of any one of claims 1 to 9.
CN202211236759.0A 2022-10-10 2022-10-10 Method and device for displaying virtual article in game, electronic equipment and storage medium Pending CN115518378A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211236759.0A CN115518378A (en) 2022-10-10 2022-10-10 Method and device for displaying virtual article in game, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211236759.0A CN115518378A (en) 2022-10-10 2022-10-10 Method and device for displaying virtual article in game, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115518378A true CN115518378A (en) 2022-12-27

Family

ID=84701063

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211236759.0A Pending CN115518378A (en) 2022-10-10 2022-10-10 Method and device for displaying virtual article in game, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115518378A (en)

Similar Documents

Publication Publication Date Title
KR102491191B1 (en) Redundant tracking system
CN108465238B (en) Information processing method in game, electronic device and storage medium
US10249095B2 (en) Context-based discovery of applications
US20200306637A1 (en) 3d avatar plugin for third-party games
US11734899B2 (en) Headset-based interface and menu system
KR20160026142A (en) Scrapped Information Providing Method and Apparatus
US11893696B2 (en) Methods, systems, and computer readable media for extended reality user interface
CN112230909A (en) Data binding method, device and equipment of small program and storage medium
EP3161598A1 (en) Light dismiss manager
US20140232748A1 (en) Device, method and computer readable recording medium for operating the same
CN114387400A (en) Three-dimensional scene display method, display device, electronic equipment and server
CN114115681A (en) Page generation method and device, electronic equipment and medium
CN113209616A (en) Object marking method, device, terminal and storage medium in virtual scene
US10572231B1 (en) Component grouping for application development
CN112965773A (en) Method, apparatus, device and storage medium for information display
CN115518378A (en) Method and device for displaying virtual article in game, electronic equipment and storage medium
CN110853643A (en) Method, device, equipment and storage medium for voice recognition in fast application
Lu et al. Design of immersive and interactive application based on augmented reality and machine learning
CN112789830A (en) A robotic platform for multi-mode channel-agnostic rendering of channel responses
CN113112613B (en) Model display method and device, electronic equipment and storage medium
Carius et al. Cloud-based cross-platform collaborative augmented reality in flutter
CN115518373A (en) Visual angle adjusting method and device in game scene, electronic equipment and storage medium
CN115167684A (en) UI display method and device, electronic equipment and storage medium
KR20180091285A (en) Method for displaying service related to video and electronic device therefor
CN116196622A (en) Information processing method and device in game

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