CN108744510A - Virtual objects display methods, device and storage medium - Google Patents
Virtual objects display methods, device and storage medium Download PDFInfo
- Publication number
- CN108744510A CN108744510A CN201810560556.4A CN201810560556A CN108744510A CN 108744510 A CN108744510 A CN 108744510A CN 201810560556 A CN201810560556 A CN 201810560556A CN 108744510 A CN108744510 A CN 108744510A
- Authority
- CN
- China
- Prior art keywords
- virtual
- article
- virtual article
- virtual object
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 51
- 230000008569 process Effects 0.000 claims abstract description 13
- 230000000007 visual effect Effects 0.000 claims description 28
- 230000000694 effects Effects 0.000 claims description 11
- 238000005516 engineering process Methods 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 16
- 230000002093 peripheral effect Effects 0.000 description 10
- 230000001133 acceleration Effects 0.000 description 9
- 238000012545 processing Methods 0.000 description 9
- 238000003825 pressing Methods 0.000 description 7
- 238000004891 communication Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 230000000875 corresponding effect Effects 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 5
- 230000001276 controlling effect Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 238000004088 simulation Methods 0.000 description 3
- 238000013473 artificial intelligence Methods 0.000 description 2
- 239000000919 ceramic Substances 0.000 description 2
- 239000003086 colorant Substances 0.000 description 2
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 230000002596 correlated effect Effects 0.000 description 2
- 241001465754 Metazoa Species 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000007667 floating Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization 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/53—Controlling 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/537—Controlling 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 using indicators, e.g. showing the condition of a game character on screen
- A63F13/5372—Controlling 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 using indicators, e.g. showing the condition of a game character on screen for tagging characters, objects or locations in the game scene, e.g. displaying a circle under the character controlled by the player
-
- 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
-
- 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/80—Special adaptations for executing a specific game genre or game mode
- A63F13/837—Shooting of targets
-
- 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
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/30—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device
- A63F2300/303—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device for displaying additional data, e.g. simulating a Head Up Display
- A63F2300/306—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device for displaying additional data, e.g. simulating a Head Up Display for displaying a marker associated to an object or location in the game field
-
- 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
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/30—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device
- A63F2300/308—Details of the user interface
-
- 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
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/60—Methods for processing data by generating or executing the game program
- A63F2300/6045—Methods for processing data by generating or executing the game program for mapping control signals received from the input arrangement into game commands
-
- 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
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/80—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game specially adapted for executing a specific type of game
- A63F2300/8076—Shooting
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- Optics & Photonics (AREA)
- User Interface Of Digital Computer (AREA)
- Processing Or Creating Images (AREA)
Abstract
The embodiment of the invention discloses a kind of virtual objects display methods, device and storage mediums, belong to field of computer technology.Method includes:Using the first display mode, display in can not pick-up situation the first virtual objects;According to the control operation to virtual objects, the moving process of virtual objects is shown, when the first virtual objects are located in the preset range of virtual objects, the first virtual objects are switched to can pick-up situation;Using the second display mode, display in can pick-up situation the first virtual objects;Wherein, the first display mode shows that virtual objects, the second display mode show virtual objects with color more higher than the first colour brightness with the first color.The different conditions that virtual objects are embodied by using different display modes, improve the information content of display, avoid the occurrence of the case where pickup is to wrong virtual objects, improve operation accuracy rate.
Description
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a virtual article display method, a virtual article display device and a storage medium.
Background
With the rapid development of computer technology and the popularization of intelligent terminals, electronic games are widely used and become the most common entertainment mode. The electronic game can provide a virtual scene, and display a virtual object in the virtual scene, and the user can control the virtual object to move in the virtual scene and interact with the virtual object.
In the related art, a terminal displays a virtual object in a virtual scene in a fixed display manner, and when a user controls the virtual object to move in the virtual scene and the virtual object is located within a preset range of the virtual object, the terminal sets the virtual object to be in a pickable state. And when the user executes the picking instruction operation, the terminal issues the virtual article in the picking state to the virtual object and cancels the display of the virtual article, thereby simulating the effect of picking the virtual article by the user.
In the process of implementing the embodiment of the present invention, the inventor finds that the related art has at least the following problems: displaying the virtual item in a fixed display may result in a user being unable to accurately determine the state of the virtual item. When the virtual item in the pickable state is not a virtual item that the user thinks pickable, it is easy to occur that the wrong virtual item is picked up, resulting in a low operation accuracy.
Disclosure of Invention
The embodiment of the invention provides a virtual article display method, a virtual article display device and a storage medium, which can solve the problem of low operation accuracy caused by the fact that a fixed display mode is adopted to display a virtual article in the related art. The technical scheme is as follows:
in one aspect, a virtual article display method is provided, and the method includes:
displaying a first virtual article in an unreceivable state in a virtual scene in a first display mode;
displaying the moving process of the virtual object in the virtual scene according to the control operation on the virtual object, and switching the first virtual object to a pickable state when the first virtual object is located within a preset range of the virtual object;
displaying the first virtual article in a pickable state in the virtual scene in a second display mode;
the first display mode displays the virtual object in a first color, and the second display mode displays the virtual object in a color with higher brightness than the first color.
In one aspect, there is provided a virtual item display apparatus, the apparatus comprising:
the display module is used for displaying a first virtual article in an unreceivable state in a virtual scene in a first display mode;
the control module is used for displaying the moving process of the virtual object in the virtual scene according to the control operation on the virtual object, and switching the first virtual object to a pickable state when the first virtual object is positioned in a preset range of the virtual object;
the display module is further configured to display the first virtual item in the virtual scene in a pickable state in a second display manner;
the first display mode displays the virtual object in a first color, and the second display mode displays the virtual object in a color with higher brightness than the first color.
In one aspect, there is provided a virtual item display apparatus, the apparatus comprising: a processor and a memory, the memory having stored therein at least one instruction, at least one program, set of codes, or set of instructions, the instruction, the program, the set of codes, or the set of instructions being loaded by the processor and having to implement the operations found in the virtual article display method.
In one aspect, a computer-readable storage medium having stored therein at least one instruction, at least one program, set of codes, or set of instructions, which is loaded by a processor and has an operation to implement the virtual article display method is provided.
The technical scheme provided by the embodiment of the invention has the beneficial effects that at least:
according to the method, the device and the storage medium provided by the embodiment of the invention, the first display mode is adopted for displaying when the virtual article is in the non-picking state, and the second display mode is adopted for displaying when the virtual article is in the picking state, so that different states of the virtual article can be embodied by using different display modes, the displayed information amount is improved, a user can accurately determine the state of the virtual article according to the display mode of the virtual article, the situation that an error virtual article is picked is avoided, and the operation accuracy is improved.
And when the picking target is switched from the first virtual article to the second virtual article, the first virtual article is switched to the non-picking state, the second virtual article is switched to the picking state and is displayed according to the switching state, the virtual article to be picked can be switched, so that a user can accurately determine the state change of the virtual article according to the display mode of the virtual article, the condition that the user judges the state of the virtual article wrongly is avoided, and the condition that the wrong virtual article is picked is avoided.
Moreover, the user determines the state of the virtual article according to the display mode of the virtual article and then executes the pick-up indication operation, so that the situation that the wrong virtual article is picked up is avoided, the situation that the pick-up indication operation is executed again after the wrong virtual article is picked up is avoided, the repeated operation of the user is avoided, and the operation efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of a virtual scene provided in an embodiment of the present invention;
FIG. 2 is a diagram of an actual interface of a virtual scene according to an embodiment of the present invention;
FIG. 3 is a flowchart of a virtual article display method according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a location hint information provided by an embodiment of the present invention;
FIG. 5A is a diagram of an actual interface for location hint information provided by an embodiment of the present invention;
FIG. 5B is a diagram of an actual interface for location hint information provided by an embodiment of the present invention;
FIG. 5C is a diagram of an actual interface for location hint information provided by an embodiment of the present invention;
FIG. 6 is a diagram illustrating a preset range according to an embodiment of the present invention;
FIG. 7 is a schematic illustration of a virtual article display according to an embodiment of the present invention;
FIG. 8 is a schematic structural diagram of a virtual object display apparatus according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
First, terms related to embodiments of the present invention are described as follows:
virtual scene: the virtual environment displayed (or provided) when the application program runs on the terminal can be a simulation environment of the real world, a semi-simulation semi-fictional environment or a pure fictional environment. The virtual scene may be a two-dimensional virtual scene or a three-dimensional virtual scene.
For example, the virtual scene may include sky, land, sea, etc., and the land may include environmental elements such as desert, city, etc. The virtual scene can also be used for simulating real environments in different weathers, such as sunny days, rainy days, foggy days or nights. Of course, a virtual object that can be picked up can be included in the virtual scene, and the virtual object can pick up the virtual object or discard the picked up virtual object.
Virtual object: refers to a movable stereoscopic model in a virtual scene that can be used to represent the user's avatar. The virtual object may be in any form, such as a virtual character, a virtual animal, an animation character, etc., such as: characters, animals, etc. displayed in the virtual scene. Optionally, the virtual objects are three-dimensional stereo models created based on an animated skeleton technique in a three-dimensional virtual scene, each virtual object having its own shape and volume in the three-dimensional virtual scene, occupying a part of the space in the three-dimensional virtual scene.
Virtual article: refers to items arranged in a virtual scene that can be picked up by a virtual object. For example, the virtual object may be clothing, a helmet, body armor, medical supplies, cold or hot weapons, or the like, or may be a virtual object left after other virtual objects are eliminated.
Viewing angle range: an observation range when observing in the virtual scene at the first person perspective or the third person perspective of the virtual object. As the user controls the virtual object to rotate, its viewing angle range changes accordingly.
The terminal can display by adopting a first person visual angle, and the displayed virtual scene only comprises the hand, the arm or weapons held in the hand of the virtual object, so that the effect of observing the virtual scene through the visual angle of the virtual object can be simulated. Or, a third person perspective view angle may be used for displaying, where the third person perspective view angle is consistent with the first person perspective view angle in direction, and only the third person perspective view angle displays a virtual object back to the terminal screen in the virtual scene, so that the user can see the action of the virtual object controlled by the user, the environment where the user is located, and the like in the virtual scene.
The embodiments of the present invention mainly relate to electronic games, such as FPS (First-Person Shooter Game), RTS (Real-Time Strategy) Game, or MOBA (Multiplayer online battle sports Game). The terminal can download and install a configuration file of the electronic game, the configuration file comprises an application program, page display data or virtual scene data of the electronic game, and when a user logs in the electronic game on the terminal, the terminal renders and displays a virtual scene in the electronic game by calling the configuration file. The user can perform control operation on the terminal, and after detecting the control operation, the terminal can determine game data corresponding to the control operation and render and display the game data, where the game data may include virtual scene data, behavior data of a virtual object in the virtual scene, and the like.
The user can control the virtual object to move in the virtual scene through control operation, for example, in a shooting game, the user can control the virtual object to freely fall, glide or open a parachute to fall in the sky of the virtual scene, to run, jump, crawl, bend over on land, or the like, or can control the virtual object to swim, float, or dive in the sea, or the user can control the virtual object to move in the virtual scene by riding a carrier. The user may also control the virtual object to discover and pick up virtual items in the virtual scene, to fight other virtual objects through the picked up virtual items, or to discard the picked up virtual items.
The user can control the virtual object to rotate through control operation, and the visual angle range of the virtual object is adjusted. If the control operation is a sliding operation, the terminal detects the sliding operation, and the rotation direction, the rotation angle and the rotation speed of the visual angle corresponding to the sliding operation can be determined based on the sliding direction, the sliding distance and the sliding speed of the sliding operation. For example, the sliding direction of the sliding operation may correspond to the rotation direction of the viewing angle, the sliding distance of the sliding operation may be positively correlated with the rotation angle of the viewing angle, and the sliding speed of the sliding operation may be positively correlated with the rotation speed of the viewing angle.
Fig. 1 is a schematic diagram of a virtual scene provided in an embodiment of the present invention, and fig. 2 is an actual interface diagram of a virtual scene provided in an embodiment of the present invention. Referring to fig. 1 and 2, the terminal displays a virtual scene, the virtual scene includes a virtual object, a virtual item is placed on the ground of the virtual scene, a virtual backpack and a virtual weapon are worn on the virtual object, and the virtual item, the virtual backpack and the virtual weapon can be called as a virtual article.
Fig. 3 is a flowchart of a virtual article display method according to an embodiment of the present invention, where an execution subject of the embodiment of the present invention is a terminal, the terminal may be a device such as a mobile phone, a computer, a tablet computer, or an intelligent game machine, and the terminal may run an application program supporting a virtual scene, and the application program may be an application program such as a virtual reality application program, a three-dimensional map program, a military simulation game program, an FPS game, and an MOBA game. Referring to fig. 3, the method includes:
301. the terminal displays the first virtual article in the non-pickable state in the virtual scene in a first display mode.
In the embodiment of the invention, the terminal displays the virtual scene and displays various elements configured in the virtual scene, such as virtual articles or virtual environment elements. The terminal may determine, for the virtual article configured in the virtual scene, a position of the virtual article in the virtual scene, and display the virtual article according to the determined position. In addition, the terminal may only display the virtual item within the current view range, and the virtual item not within the current view range is not displayed temporarily, and of course, the view range of the terminal may also change correspondingly as the virtual object moves in the virtual scene.
The terminal can obtain virtual article configuration data, and display the virtual article according to the virtual article configuration data, wherein the virtual article configuration data can include multiple items of data such as color, shape, type and position of the virtual article in the virtual scene.
The virtual article configuration data can be stored in a local configuration file of the terminal, and when the terminal displays a virtual scene, the virtual article configuration data can be obtained from the local configuration file, and the virtual article can be displayed according to the virtual article configuration data. Or, the virtual article configuration data may also be provided to the terminal by the server, for example, a virtual scene is preset on the server, at least one virtual article is set in the virtual scene, the configuration file stored by the server includes the virtual article configuration data, when the virtual scene is displayed by the terminal, a virtual article display request is sent to the server, when the virtual article display request is received by the server, the virtual article configuration data is obtained from the configuration file and sent to the terminal, and the terminal displays the virtual article according to the received virtual article configuration data.
In the embodiment of the invention, the virtual article comprises a pickable state and a non-pickable state, and the picking indication operation performed by the user only acts on the virtual article in the pickable state. That is, when the virtual item is in the pickable state, the pick instruction operation performed by the user may act on the virtual item, thereby controlling the virtual object to pick up the virtual item, and when the virtual item is in the non-pickable state, the pick instruction operation performed by the user may not act on the virtual item.
Therefore, in order to use different display modes to represent different states of the virtual article, the terminal may set a first display mode and a second display mode, display the virtual article in the non-pickable state in the first display mode, and display the virtual article in the pickable state in the second display mode.
The first display mode is a display mode for displaying the virtual article in a first color, and the second display mode is a mode for displaying the virtual article in a color with higher brightness than the first color. The first color is the original color of the virtual article and may be determined from the virtual article configuration data. The original color of the virtual article can be displayed by adopting the first display mode, and the virtual article can be highlighted by adopting the second display mode, so that a user can conveniently see the virtual article.
In one possible implementation manner, the second display manner is a manner in which the entire virtual article is displayed in the second color, or the second display manner is a manner in which the outline region of the virtual article is displayed in the second color and the inner region of the virtual article except the outline region is displayed in the first color. The second color may be a default set color or a user set color. The second color has a higher brightness than the first color, for example, the first color may be gray, dark blue, etc., and the second color may be yellow, red, light green, etc.
In addition, the virtual article configuration data may include a virtual article model of the virtual article, the virtual article model being used to represent a shape of the virtual article, the virtual article model including multiple model elements such as lines and planes that constitute the virtual article model and a relative positional relationship between any two model elements, and the shape of the virtual article may be determined from the virtual article model. When the terminal displays the virtual article, the terminal can acquire the virtual article model and render and display the virtual article model. The virtual article model can be a two-dimensional model or a three-dimensional model. Then, when the terminal adopts the first display mode to display, the virtual article model can be obtained and then rendered and displayed, when the terminal adopts the second display mode to display, the virtual article model can be obtained firstly, all areas of the virtual article model are changed into the second color and then rendered and displayed, or each line on the edge of the virtual article model is changed into the second color and then rendered and displayed, and other elements except the edge line are in the first color.
And for the same virtual article, the first colors set in different areas of the virtual article may be the same or different, and are determined according to the configuration data of the virtual article. When the terminal is to display the outline area of the virtual article in the second color and the internal area in the first color, the first color of the outline area of the virtual article is adjusted to the second color while one or more colors of the internal area of the virtual article are kept unchanged.
Compared with the display in the first display mode, the display in the second display mode can achieve the purpose of highlighting, so that a user can more easily see the virtual article, and can know which virtual article is in a pickable state currently.
In the embodiment of the invention, the first virtual article is taken as an example, and when the first virtual article is in a non-pickable state, the terminal displays the first virtual article in a first display mode. In particular implementation, when the terminal determines that the first virtual item is in the non-pickable state, the first virtual item is displayed in a first color.
It should be noted that, in the embodiment of the present invention, a virtual article located within a preset range of the virtual object may be set to be in a pickable state, and a virtual article not located within the preset range of the virtual object may be set to be in a non-pickable state, and then, in step 301, the first virtual article is not located within the preset range of the virtual object as an example.
In a possible implementation manner, in order to more obviously prompt the user of the position of the first virtual article, when the terminal displays the first virtual article, the terminal may further display the position prompt information of the first virtual article within a preset prompt range of the first virtual article. The preset prompting range can be a circular area with the first virtual article as a circle center or an area above the first virtual article and a certain distance away from the first virtual article, and the like, the position prompting information is used for prompting the position of the first virtual article in a virtual scene, and the position prompting information can comprise various forms, such as text information, icon information or special effect information. The terminal can prompt the position of the virtual article through the position prompt information so that a user can find the virtual article in a virtual scene more quickly and easily, the utilization rate of the virtual article is improved, and the information efficiency of the terminal in the display process of the virtual article is improved.
Optionally, when the terminal displays the first virtual object, the position prompt information suspended above the first virtual object is displayed, and the user can view the position prompt information when controlling the virtual object to move in the virtual scene, so as to know that the virtual object exists at the position indicated by the position prompt information. In addition, the shape or color of the position indication information may correspond to the type of the first virtual article, and even when the virtual object is far from the first virtual article, the user can know which type of virtual article exists at the position indicated by the position indication information based on the shape or color of the position indication information.
Fig. 4 is a schematic diagram of a location prompt message provided in an embodiment of the present invention, and fig. 5A to 5C are actual interface diagrams of a location prompt message provided in an embodiment of the present invention. Referring to fig. 4 and fig. 5A to 5C, when the terminal displays the virtual article, the terminal also displays a position prompt message floating above the virtual article, where the position prompt message is an icon formed by an isosceles triangle and a line segment and can indicate the position of the virtual article.
Or when the terminal displays the first virtual object, the light-emitting or flashing special effect is displayed in the preset prompting range of the first virtual object, and the user can check the light-emitting or flashing special effect when controlling the virtual object to move in the virtual scene, so that the fact that the virtual object exists at the position indicated by the special effect is known.
In the subsequent process, when the first virtual object is picked up by a certain virtual object, the terminal cancels the display of the first virtual object, cancels the display of the position prompt message of the first virtual object at the moment, and does not prompt the position of the first virtual object any more.
302. And the terminal displays the moving process of the virtual object in the virtual scene according to the control operation on the virtual object, and switches the first virtual object to a pickable state when the first virtual object is positioned in a preset range of the virtual object.
The terminal can detect the control operation of the user on the virtual object, and display the moving process of the virtual object in the virtual scene according to the control operation, so that the aim of controlling the virtual object to move in the virtual scene is fulfilled. The control operation may be an operation of clicking a direction key or a sliding operation on a display screen, or a virtual rocker control may be displayed when the terminal displays a virtual scene, and a user may control the virtual object to move forward, backward, leftward and rightward through the virtual rocker control.
In the embodiment of the invention, the terminal sets the virtual article in the preset range of the virtual object to be in a pickable state, wherein the preset range of the virtual object is determined according to the position of the virtual object in the virtual scene, and the position of the preset range in the virtual scene changes along with the movement of the virtual object in the virtual scene. And when the terminal determines that the first virtual article is located in the preset range of the virtual object according to the position of the first virtual article and the position of the preset range of the virtual object, switching the first virtual article from the non-pickable state to the pickable state.
In one possible implementation manner, the preset range is an area formed by taking a preset angle as an included angle and taking a virtual object as an included angle vertex. The preset range can be in various shapes such as a circle, a square, a fan and the like. In addition, the preset range can be symmetrical about the front facing direction of the virtual object, so that a scene of the virtual object facing the preset range is simulated, the visual angle range of the virtual object is simulated in the preset range, and the virtual object is more consistent with a real scene.
For example, the preset range is a circular area with the virtual object as a center and a preset distance as a radius, the terminal obtains the distance between the first virtual article and the virtual object, and when the distance between the first virtual article and the virtual object is determined to be smaller than the preset distance and the first virtual article is determined to be located within the preset range of the virtual object, the first virtual article is switched from the non-pickable state to the pickable state.
Alternatively, fig. 6 is a schematic diagram of a preset range provided by an embodiment of the present invention, referring to fig. 6, the preset range is a sector area with a preset angle as an included angle, a virtual object as a circular point, and a preset distance as a radius, and the sector area may be symmetrical with respect to a direction in which the front surface of the virtual object faces, so that the sector area is considered as a view angle range of the virtual object, and a virtual object located in the sector area may be considered as a virtual object in a view field range of the virtual object. Therefore, when the terminal determines that the first virtual article is located in the fan-shaped area, the first virtual article is switched from the non-pickable state to the pickable state. Or, the preset range is an isosceles triangle area with a preset angle as a vertex angle and the virtual object as a vertex, the side lengths of two equal sides in the isosceles triangle area are a preset distance, and the isosceles triangle area can be symmetrical with respect to the direction in which the front surface of the virtual object faces, so that the isosceles triangle area is considered as the view angle range of the virtual object.
The preset distance may be determined according to a distance that the field of view set for the virtual object reaches farthest, and the preset angle may be determined according to a maximum horizontal field of view angle set for the virtual object, for example, assuming that the maximum horizontal field of view angle of the virtual object is 200 degrees, the set preset angle may be 150 degrees.
In another possible implementation manner, a plurality of virtual articles may exist within the preset range of the virtual object, and at this time, the terminal may switch a virtual article closest to the virtual object from the non-pickable state to the pickable state, and keep other virtual articles in the non-pickable state.
Therefore, the terminal obtains the distances between the virtual objects and the plurality of virtual articles within the preset range of the virtual objects, compares the distances, and switches the first virtual article from the non-pickable state to the pickable state when the first virtual article in the plurality of virtual articles is closest to the virtual object.
Of course, when there are multiple virtual articles in the preset range of the virtual object, another method may be used to select one virtual article to switch to the pickable state. Such as switching to a pickable state, for example, when there are no virtual items of the same type in the item pool of the virtual object.
303. And the terminal displays the first virtual item in the pickable state in the virtual scene in the second display mode, and executes the step 304 or 306.
And after the terminal switches the first virtual article into a pickable state, displaying the first virtual article in a second display mode. In one possible implementation, the entire area of the first virtual item is displayed in a second color, or in another possible implementation, the inner area of the first virtual item is displayed in a first color and the outline area of the first virtual item is displayed in a second color, so that a user can more easily know which virtual item is currently in a pickable state, and thus determine whether to perform a pick-indication operation to pick up the virtual item.
Referring to fig. 7, the virtual scene includes two virtual objects, the virtual object located on the left side of the virtual object is in a pickable state, the edge contour area is highlighted in white, and the internal area is displayed in an original color. And if the virtual article positioned at the right side of the virtual object is in the non-pickable state, the whole virtual article is displayed by adopting the original color.
304. When the terminal detects that the picking target is switched from the first virtual article to the second virtual article, the first virtual article is switched to the non-picking state, and the second virtual article is switched to the picking state.
When the terminal detects that the picking target is switched from the first virtual article to the second virtual article, the first virtual article is switched from the pickable state to the non-pickable state, the second virtual article is switched from the non-pickable state to the pickable state, and the second virtual article becomes a virtual article which can be picked up through the picking instruction operation.
The user can perform visual angle adjustment operation on the virtual object to adjust the visual angle of the virtual object and switch the picking target, when the terminal detects the visual angle adjustment operation on the virtual object, a preset range after the visual angle of the virtual object is adjusted is determined, and when the second virtual object is located in the preset range after the visual angle of the virtual object is adjusted and the first virtual object is not located in the preset range after the visual angle of the virtual object is adjusted, it is determined that the picking target is detected to be switched from the first virtual object to the second virtual object.
In a possible implementation manner, before the angle of view of the virtual object is adjusted, the first virtual article is located in a preset range of the virtual object, and the second virtual article is not located in the preset range of the virtual object, and after the angle of view of the virtual object is adjusted, the first virtual article is no longer located in the preset range after the angle of view of the virtual object is adjusted, and the second virtual article is located in the preset range after the angle of view of the virtual object is adjusted, it is determined that the picking target is detected to be switched from the first virtual article to the second virtual article.
In another possible implementation manner, before the angle of view of the virtual object is adjusted, the first virtual article and the second virtual article are both located in the preset range of the virtual object, and after the angle of view of the virtual object is adjusted, the first virtual article is no longer located in the preset range after the angle of view of the virtual object is adjusted, and the second virtual article is still located in the preset range of the virtual object, it is determined that the picking target is detected to be switched from the first virtual article to the second virtual article.
The terminal can display the visual angle adjusting control when displaying the virtual scene, a user can execute visual angle adjusting operation through the visual angle adjusting control, and the virtual object is controlled to rotate clockwise or anticlockwise, so that the visual angle of the virtual object is adjusted. The visual angle adjusting operation may be a pressing operation, the user performs the pressing operation on a visual angle adjusting control of the terminal, and the terminal may determine a visual angle rotation direction, a rotation speed, and a rotation angle corresponding to the pressing operation based on a specific position of the pressing operation in the visual angle adjusting control, a pressing force and a pressing time of the pressing operation. Or, the visual angle adjusting operation may also be a rotation operation on the terminal, and when the terminal detects the rotation operation, the adjustment direction, the adjustment angle, and the adjustment speed of the visual angle are determined according to the rotation direction, the rotation angle, and the rotation speed of the rotation operation. Of course, the angle-of-view adjustment operation may also be a key operation or a toggle operation on a real joystick device, or the like. Moreover, when the user controls the virtual object, the user can also adjust the view angle of the virtual object by combining the above several view angle adjustment operations, so as to realize different control effects.
Or, the user may also trigger another control operation to switch the pickup target, for example, when the terminal detects an operation of clicking a direction key or a sliding operation by the user, determine a direction corresponding to the operation of clicking the direction key or the sliding operation, and when it is determined that the second virtual article is a next virtual article of the first virtual article in the direction, determine that the pickup target is switched from the first virtual article to the second virtual article.
305. The terminal displays the first virtual article in the non-pickable state in a first display mode, and displays the second virtual article in the pickable state in a second display mode.
After the states of the first virtual article and the second virtual article are switched, the terminal displays the states according to the switched states of the first virtual article and the second virtual article, so that the first virtual article is displayed in a first display mode, and the second virtual article is displayed in a second display mode.
306. When the terminal detects the pick-up instruction operation, the virtual object is issued with the virtual article in the pick-up state, and the display of the virtual article is cancelled.
If the virtual item currently in the pickable state is the virtual item that the user wishes to pick up, the user can perform a pick-up instruction operation to control the virtual object to pick up the virtual item, and when the terminal detects the pick-up instruction operation, the virtual item in the pickable state is issued to the virtual object. At this time, the terminal may display a dynamic effect of the virtual object picking up the virtual item, and the terminal cancels displaying the virtual item after the dynamic effect is displayed.
In one possible implementation manner, the terminal may establish an item attribution relation table, which includes a virtual object to which each virtual item belongs after being picked up, and can represent an issuing object of the virtual item. When the terminal issues the virtual article to the virtual object, the virtual article and the virtual object are correspondingly stored in the article attribution relation table so as to establish the attribution relation between the virtual article and the virtual object. In the subsequent process, when the user controls the virtual object to use the virtual object or discards the virtual object, the virtual object and the virtual object are deleted from the object attribution relation table, so as to release the attribution relation between the virtual object and the virtual object.
According to the item attribution relation table, the terminal can determine an item library of the virtual object, the item library comprises the virtual item belonging to the virtual object, and when the user opens the item library of the virtual object, the terminal can display the virtual item belonging to the virtual object.
According to the method provided by the embodiment of the invention, the first display mode is adopted for displaying when the virtual article is in the non-picking state, and the second display mode is adopted for displaying when the virtual article is in the picking state, so that different states of the virtual article can be embodied by using different display modes, the displayed information amount is improved, a user can accurately determine the state of the virtual article according to the display mode of the virtual article, the situation that an error virtual article is picked is avoided, and the operation accuracy is improved.
And when the picking target is switched from the first virtual article to the second virtual article, the first virtual article is switched to the non-picking state, the second virtual article is switched to the picking state and is displayed according to the switching state, the virtual article to be picked can be switched, so that a user can accurately determine the state change of the virtual article according to the display mode of the virtual article, the condition that the user judges the state of the virtual article wrongly is avoided, and the condition that the wrong virtual article is picked is avoided.
Moreover, the user determines the state of the virtual article according to the display mode of the virtual article and then executes the pick-up indication operation, so that the situation that the wrong virtual article is picked up is avoided, the situation that the pick-up indication operation is executed again after the wrong virtual article is picked up is avoided, the repeated operation of the user is avoided, and the operation efficiency is improved.
Fig. 8 is a schematic structural diagram of a virtual article display device according to an embodiment of the present invention. Referring to fig. 8, the apparatus is applied to a terminal, and includes:
a display module 801, configured to perform the step of displaying, in a first display manner in the foregoing embodiment, a first virtual item in an unreceivable state in a virtual scene;
a control module 802, configured to perform the steps of displaying a moving process of the virtual object in the virtual scene according to a control operation on the virtual object in the foregoing embodiment, and switching the first virtual object to a pickable state when the first virtual object is located within a preset range of the virtual object;
the display module 801 is further configured to perform the step of displaying the first virtual item in the virtual scene in the pickable state in the second display manner in the foregoing embodiment;
the first display mode displays the virtual object in a first color, and the second display mode displays the virtual object in a color with higher brightness than the first color.
Optionally, the apparatus further comprises:
a control module 802, configured to perform the steps of switching the first virtual article to the non-pickable state and switching the second virtual article to the pickable state when it is detected that the picking target is switched from the first virtual article to the second virtual article in the foregoing embodiments;
the display module 801 is further configured to display the first virtual item in the non-pickable state in the first display manner in the foregoing embodiment; and displaying the second virtual item in the pickable state in a second display mode.
Optionally, the apparatus further comprises:
the visual angle range determining module is used for determining a preset range after the visual angle of the virtual object is adjusted when the visual angle adjusting operation on the virtual object is detected in the embodiment;
and the detection module is configured to perform the step of determining that the pickup target is switched from the first virtual article to the second virtual article when the second virtual article is located within the preset range after the angle of view of the virtual object is adjusted and the first virtual article is not located within the preset range after the angle of view of the virtual object is adjusted in the above embodiments.
Or, the detecting module is configured to perform the step of determining that the pickup target is switched from the first virtual article to the second virtual article when the operation of clicking the direction key or the sliding operation is detected and the second virtual article is a next virtual article in the direction corresponding to the operation of clicking the direction key or the sliding operation of the first virtual article in the foregoing embodiment.
Optionally, the apparatus further comprises:
and the picking module is used for issuing the virtual article in the pickable state to the virtual object and canceling the step of displaying the virtual article when the picking instruction operation is detected in the embodiment.
Optionally, the virtual article is displayed in a second color in a second display mode; or the second display mode displays the outline area of the virtual article in a second color and displays the inner area of the virtual article except the outline area in the first color;
wherein the brightness of the second color is higher than the brightness of the first color.
Optionally, the preset range is an area formed by taking a preset angle as an included angle and taking a virtual object as a vertex of the included angle.
Optionally, the preset range is a sector area with a preset angle as an included angle, a virtual object as a dot and a preset distance as a radius; or the preset range is an isosceles triangle area with a preset angle as a vertex angle and a virtual object as a vertex, and the side lengths of two equal sides in the isosceles triangle area are a preset distance.
Optionally, the control module 802 is further configured to perform the step of switching the first virtual article to the pickable state when the first virtual article in the plurality of virtual articles within the preset range of the virtual object is closest to the virtual object in the foregoing embodiment.
Optionally, the apparatus further comprises:
and the prompting module is used for displaying the position prompting information of the first virtual article in the preset prompting range of the first virtual article when the first virtual article is displayed in the embodiment.
Optionally, the prompting module is further configured to execute displaying the position prompting information suspended above the first virtual article in the above embodiment; or displaying a special luminous or flashing effect in a preset prompting range of the first virtual article.
Optionally, the shape or color of the location hint information corresponds to the type of the first virtual item.
Optionally, the display module 801 is further configured to perform the step of canceling the display of the position prompt message of the first virtual item when the display of the first virtual item is canceled in the foregoing embodiment.
It should be noted that: in the virtual article display device provided in the above embodiment, when displaying a virtual article, only the division of the above functional modules is taken as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the terminal is divided into different functional modules to complete all or part of the above described functions. In addition, the virtual article display apparatus provided in the above embodiments and the virtual article display method embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments and are not described herein again.
Fig. 9 is a block diagram illustrating a terminal 900 according to an exemplary embodiment of the present invention. The terminal 900 may be a portable mobile terminal such as: a smart phone, a tablet computer, an MP3 player (Moving Picture experts Group Audio Layer III, motion video experts compression standard Audio Layer 3), an MP4 player (Moving Picture experts Group Audio Layer IV, motion video experts compression standard Audio Layer 4), a notebook computer, or a desktop computer. Terminal 900 may also be referred to by other names such as user equipment, portable terminals, laptop terminals, desktop terminals, and the like.
In general, terminal 900 includes: a processor 901 and a memory 902.
Processor 901 may include one or more processing cores, such as a 4-core processor, a 5-core processor, and so forth. The processor 901 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 901 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 901 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 901 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 902 may include one or more computer-readable storage media, which may be non-transitory. The memory 902 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 902 is used to store at least one instruction for being possessed by processor 901 to implement the method of opening a virtual door provided by method embodiments herein.
In some embodiments, terminal 900 can also optionally include: a peripheral interface 903 and at least one peripheral. The processor 901, memory 902, and peripheral interface 903 may be connected by buses or signal lines. Various peripheral devices may be connected to the peripheral interface 903 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 904, a touch display screen 905, a camera 906, an audio circuit 907, a positioning component 908, and a power supply 909.
The peripheral interface 903 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 901 and the memory 902. In some embodiments, the processor 901, memory 902, and peripheral interface 903 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 901, the memory 902 and the peripheral interface 903 may be implemented on a separate chip or circuit board, which is not limited by this embodiment.
The Radio Frequency circuit 904 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 904 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuit 904 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 904 comprises: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 904 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 9G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 904 may also include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 905 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 905 is a touch display screen, the display screen 905 also has the ability to capture touch signals on or over the surface of the display screen 905. The touch signal may be input to the processor 901 as a control signal for processing. At this point, the display 905 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 905 may be one, providing the front panel of the terminal 900; in other embodiments, the number of the display panels 905 may be at least two, and each of the display panels is disposed on a different surface of the terminal 900 or is in a foldable design; in still other embodiments, the display 905 may be a flexible display disposed on a curved surface or a folded surface of the terminal 900. Even more, the display screen 905 may be arranged in a non-rectangular irregular figure, i.e. a shaped screen. The Display panel 905 can be made of LCD (liquid crystal Display), OLED (Organic Light-Emitting Diode), and the like.
The camera assembly 906 is used to capture images or video. Optionally, camera assembly 906 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 906 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
Audio circuit 907 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 901 for processing, or inputting the electric signals to the radio frequency circuit 904 for realizing voice communication. For stereo sound acquisition or noise reduction purposes, the microphones may be multiple and disposed at different locations of the terminal 900. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 901 or the radio frequency circuit 904 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, audio circuit 907 may also include a headphone jack.
The positioning component 908 is used to locate the current geographic location of the terminal 900 to implement navigation or LBS (location based Service). The positioning component 908 may be a positioning component based on the GPS (global positioning System) of the united states, the beidou System of china, the graves System of russia, or the galileo System of the european union.
Power supply 909 is used to provide power to the various components in terminal 900. The power source 909 may be alternating current, direct current, disposable or rechargeable. When power source 909 comprises a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal 900 can also include one or more sensors 910. The one or more sensors 910 include, but are not limited to: acceleration sensor 911, gyro sensor 912, pressure sensor 913, fingerprint sensor 914, optical sensor 915, and proximity sensor 916.
The acceleration sensor 911 can detect the magnitude of acceleration in three coordinate axes of the coordinate system established with the terminal 900. For example, the acceleration sensor 911 may be used to detect the components of the gravitational acceleration in three coordinate axes. The processor 901 can control the touch display 905 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 911. The acceleration sensor 911 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 912 may detect a body direction and a rotation angle of the terminal 900, and the gyro sensor 912 may cooperate with the acceleration sensor 911 to acquire a 3D motion of the user on the terminal 900. The processor 901 can implement the following functions according to the data collected by the gyro sensor 912: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensors 913 may be disposed on the side bezel of terminal 900 and/or underneath touch display 905. When the pressure sensor 913 is disposed on the side frame of the terminal 900, the user's holding signal of the terminal 900 may be detected, and the processor 901 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 913. When the pressure sensor 913 is disposed at a lower layer of the touch display 905, the processor 901 controls the operability control on the UI interface according to the pressure operation of the user on the touch display 905. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 914 is used for collecting a fingerprint of the user, and the processor 901 identifies the user according to the fingerprint collected by the fingerprint sensor 914, or the fingerprint sensor 914 identifies the user according to the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, processor 901 authorizes the user to have relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings, etc. The fingerprint sensor 914 may be disposed on the front, back, or side of the terminal 900. When a physical key or vendor Logo is provided on the terminal 900, the fingerprint sensor 914 may be integrated with the physical key or vendor Logo.
The optical sensor 915 is used to collect ambient light intensity. In one embodiment, the processor 901 may control the display brightness of the touch display 905 based on the ambient light intensity collected by the optical sensor 915. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 905 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 905 is turned down. In another embodiment, the processor 901 can also dynamically adjust the shooting parameters of the camera assembly 906 according to the ambient light intensity collected by the optical sensor 915.
Proximity sensor 916, also known as a distance sensor, is typically disposed on the front panel of terminal 900. The proximity sensor 916 is used to collect the distance between the user and the front face of the terminal 900. In one embodiment, when the proximity sensor 916 detects that the distance between the user and the front face of the terminal 900 gradually decreases, the processor 901 controls the touch display 905 to switch from the bright screen state to the dark screen state; when the proximity sensor 916 detects that the distance between the user and the front surface of the terminal 900 gradually becomes larger, the processor 901 controls the touch display 905 to switch from the breath screen state to the bright screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 9 does not constitute a limitation of terminal 900, and may include more or fewer components than those shown, or may combine certain components, or may employ a different arrangement of components.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present invention and should not be taken as limiting the invention, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (15)
1. A virtual item display method, the method comprising:
displaying a first virtual article in an unreceivable state in a virtual scene in a first display mode;
displaying the moving process of the virtual object in the virtual scene according to the control operation on the virtual object, and switching the first virtual object to a pickable state when the first virtual object is located within a preset range of the virtual object;
displaying the first virtual article in a pickable state in the virtual scene in a second display mode;
the first display mode displays the virtual object in a first color, and the second display mode displays the virtual object in a color with higher brightness than the first color.
2. The method according to claim 1, wherein after displaying the first virtual item in the virtual scene in the pickable state in the second display mode, the method further comprises:
when the picking target is detected to be switched from the first virtual article to a second virtual article, switching the first virtual article to a non-picking state and switching the second virtual article to a picking state;
displaying the first virtual article in the non-pickable state in the first display mode;
and displaying the second virtual article in a pickable state by adopting the second display mode.
3. The method of claim 2, further comprising:
when the visual angle adjusting operation on the virtual object is detected, determining a preset range of the virtual object after the visual angle is adjusted; when the second virtual article is located in the preset range after the visual angle of the virtual object is adjusted, and the first virtual article is not located in the preset range after the visual angle of the virtual object is adjusted, determining that the picking target is switched from the first virtual article to the second virtual article; or,
and when the operation of clicking a direction key or the sliding operation is detected and the second virtual article is the next virtual article of the first virtual article in the direction corresponding to the operation of clicking the direction key or the sliding operation, determining that the picking target is switched from the first virtual article to the second virtual article.
4. The method according to any one of claims 1 to 3, wherein the second display means displays the virtual article in a second color; or the second display mode displays the outline area of the virtual article in a second color and displays the inner area of the virtual article except the outline area in the first color;
wherein the luminance of the second color is higher than the luminance of the first color.
5. The method according to claim 1 or 2, characterized in that the method further comprises:
and when the picking indication operation is detected, the virtual object is issued with the virtual article in the picking state, and the virtual article is cancelled and displayed.
6. The method of claim 1, wherein the predetermined range is a region formed by using a predetermined angle as an included angle and the virtual object as a vertex of the included angle.
7. The method according to claim 6, wherein the predetermined range is a sector area with the predetermined angle as an included angle, the virtual object as a circular point, and a predetermined distance as a radius; or,
the preset range is an isosceles triangle area which takes the preset angle as a vertex angle and the virtual object as a vertex, and the side lengths of two equal sides in the isosceles triangle area are a preset distance.
8. The method according to any one of claims 1-7, wherein said switching the first virtual item to a pickable state when the first virtual item is within a preset range of the virtual object comprises:
when the first virtual article in the plurality of virtual articles in the preset range of the virtual object is closest to the virtual object, the first virtual article is switched to a pickable state.
9. The method according to any one of claims 1-7, further comprising:
and when the first virtual article is displayed, displaying the position prompt information of the first virtual article in the preset prompt range of the first virtual article.
10. The method according to claim 9, wherein displaying the position prompt information of the first virtual article within the preset prompt range of the first virtual article comprises:
displaying position prompt information suspended above the first virtual article; or,
and displaying a special luminous or flashing effect in the preset prompting range of the first virtual article.
11. The method of claim 10, wherein the shape or color of the location hint information corresponds to a type of the first virtual item.
12. The method according to any one of claims 9-11, further comprising:
and when the first virtual article is canceled from being displayed, canceling the display of the position prompt message of the first virtual article.
13. A virtual item display apparatus, the apparatus comprising:
the display module is used for displaying a first virtual article in an unreceivable state in a virtual scene in a first display mode;
the control module is used for displaying the moving process of the virtual object in the virtual scene according to the control operation on the virtual object, and switching the first virtual object to a pickable state when the first virtual object is positioned in a preset range of the virtual object;
the display module is further configured to display the first virtual item in the virtual scene in a pickable state in a second display manner;
the first display mode displays the virtual object in a first color, and the second display mode displays the virtual object in a color with higher brightness than the first color.
14. A virtual article display apparatus, comprising a processor and a memory, wherein the memory has stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded by the processor and has the operations to carry out the operations presented in the virtual article display method according to any one of claims 1 to 12.
15. A computer-readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded by a processor and has an operation to implement the virtual good display method of any of claims 1 to 12.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810560556.4A CN108744510A (en) | 2018-05-25 | 2018-05-25 | Virtual objects display methods, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810560556.4A CN108744510A (en) | 2018-05-25 | 2018-05-25 | Virtual objects display methods, device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108744510A true CN108744510A (en) | 2018-11-06 |
Family
ID=64002093
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810560556.4A Pending CN108744510A (en) | 2018-05-25 | 2018-05-25 | Virtual objects display methods, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108744510A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110297684A (en) * | 2019-06-28 | 2019-10-01 | 腾讯科技(深圳)有限公司 | Theme display methods, device and storage medium based on virtual portrait |
CN111068318A (en) * | 2019-12-26 | 2020-04-28 | 珠海金山网络游戏科技有限公司 | Role slope rotation method and device |
CN111258520A (en) * | 2018-12-03 | 2020-06-09 | 广东虚拟现实科技有限公司 | Display method, display device, terminal equipment and storage medium |
WO2020199821A1 (en) * | 2019-04-03 | 2020-10-08 | 腾讯科技(深圳)有限公司 | Object display method and apparatus for simulating experience of blind person, and storage medium |
CN111870943A (en) * | 2020-08-10 | 2020-11-03 | 网易(杭州)网络有限公司 | Method and device for picking up objects in game, electronic equipment and storage medium |
WO2021213021A1 (en) * | 2020-04-23 | 2021-10-28 | 腾讯科技(深圳)有限公司 | Operation control display method and apparatus based on virtual scene |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110055919A1 (en) * | 2009-09-03 | 2011-03-03 | International Business Machines Corporation | System and Method for the Designation of Items in a Virtual Universe |
US20140357380A1 (en) * | 2013-06-04 | 2014-12-04 | Tencent Technology (Shenzhen) Company Limited | Systems and Methods for Equipping Game Props |
CN105094345A (en) * | 2015-09-29 | 2015-11-25 | 腾讯科技(深圳)有限公司 | Information processing method, terminal and computer storage medium |
CN107837531A (en) * | 2017-09-28 | 2018-03-27 | 网易(杭州)网络有限公司 | Information processing method, device, electronic equipment and storage medium |
CN107899237A (en) * | 2017-12-06 | 2018-04-13 | 腾讯科技(深圳)有限公司 | Control method and relevant device based on touch screen |
-
2018
- 2018-05-25 CN CN201810560556.4A patent/CN108744510A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110055919A1 (en) * | 2009-09-03 | 2011-03-03 | International Business Machines Corporation | System and Method for the Designation of Items in a Virtual Universe |
US20140357380A1 (en) * | 2013-06-04 | 2014-12-04 | Tencent Technology (Shenzhen) Company Limited | Systems and Methods for Equipping Game Props |
CN105094345A (en) * | 2015-09-29 | 2015-11-25 | 腾讯科技(深圳)有限公司 | Information processing method, terminal and computer storage medium |
CN107837531A (en) * | 2017-09-28 | 2018-03-27 | 网易(杭州)网络有限公司 | Information processing method, device, electronic equipment and storage medium |
CN107899237A (en) * | 2017-12-06 | 2018-04-13 | 腾讯科技(深圳)有限公司 | Control method and relevant device based on touch screen |
Non-Patent Citations (2)
Title |
---|
EX杜兰德尔: "《百度知道》", 30 September 2017 * |
JIMMY51: "《游民星空》", 19 September 2015 * |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111258520B (en) * | 2018-12-03 | 2021-09-14 | 广东虚拟现实科技有限公司 | Display method, display device, terminal equipment and storage medium |
CN111258520A (en) * | 2018-12-03 | 2020-06-09 | 广东虚拟现实科技有限公司 | Display method, display device, terminal equipment and storage medium |
US11402965B2 (en) | 2019-04-03 | 2022-08-02 | Tencent Technology (Shenzhen) Company Limited | Object display method and apparatus for simulating feeling of blind person and storage medium |
WO2020199821A1 (en) * | 2019-04-03 | 2020-10-08 | 腾讯科技(深圳)有限公司 | Object display method and apparatus for simulating experience of blind person, and storage medium |
CN110297684B (en) * | 2019-06-28 | 2023-06-30 | 腾讯科技(深圳)有限公司 | Theme display method and device based on virtual character and storage medium |
CN110297684A (en) * | 2019-06-28 | 2019-10-01 | 腾讯科技(深圳)有限公司 | Theme display methods, device and storage medium based on virtual portrait |
CN111068318A (en) * | 2019-12-26 | 2020-04-28 | 珠海金山网络游戏科技有限公司 | Role slope rotation method and device |
CN111068318B (en) * | 2019-12-26 | 2024-05-07 | 珠海金山数字网络科技有限公司 | Role slope rotation method and device |
WO2021213021A1 (en) * | 2020-04-23 | 2021-10-28 | 腾讯科技(深圳)有限公司 | Operation control display method and apparatus based on virtual scene |
JP2022532870A (en) * | 2020-04-23 | 2022-07-20 | ▲騰▼▲訊▼科技(深▲セン▼)有限公司 | How to display operation controls based on virtual scenes, devices, computer devices and computer programs |
JP7331137B2 (en) | 2020-04-23 | 2023-08-22 | ▲騰▼▲訊▼科技(深▲セン▼)有限公司 | Display method, apparatus, computer equipment and computer program for operation control based on virtual scene |
US12053696B2 (en) | 2020-04-23 | 2024-08-06 | Tencent Technology (Shenzhen) Company Limited | Operation control display method and apparatus based on virtual scene |
CN111870943A (en) * | 2020-08-10 | 2020-11-03 | 网易(杭州)网络有限公司 | Method and device for picking up objects in game, electronic equipment and storage medium |
CN111870943B (en) * | 2020-08-10 | 2023-12-05 | 网易(杭州)网络有限公司 | Method and device for picking up articles in game, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7264993B2 (en) | Method and apparatus for controlling interaction between virtual object and projectile, and computer program | |
CN108619721B (en) | Distance information display method and device in virtual scene and computer equipment | |
CN109614171B (en) | Virtual item transfer method and device, electronic equipment and computer storage medium | |
CN109529319B (en) | Display method and device of interface control and storage medium | |
CN108671545B (en) | Method, device and storage medium for controlling interaction between virtual object and virtual scene | |
CN108744510A (en) | Virtual objects display methods, device and storage medium | |
CN111589127B (en) | Control method, device and equipment of virtual role and storage medium | |
CN109917910B (en) | Method, device and equipment for displaying linear skills and storage medium | |
CN110448908B (en) | Method, device and equipment for applying sighting telescope in virtual environment and storage medium | |
CN111672106B (en) | Virtual scene display method and device, computer equipment and storage medium | |
CN110738738B (en) | Virtual object marking method, equipment and storage medium in three-dimensional virtual scene | |
CN110917616A (en) | Orientation prompting method, device, equipment and storage medium in virtual scene | |
CN113041620B (en) | Method, device, equipment and storage medium for displaying position mark | |
CN111589141A (en) | Virtual environment picture display method, device, equipment and medium | |
CN110743168A (en) | Virtual object control method in virtual scene, computer device and storage medium | |
CN111013137A (en) | Movement control method, device, equipment and storage medium in virtual scene | |
CN113289336A (en) | Method, apparatus, device and medium for tagging items in a virtual environment | |
CN113559494A (en) | Virtual item display method, device, terminal and storage medium | |
CN112121438B (en) | Operation prompting method, device, terminal and storage medium | |
CN112691375B (en) | Virtual object control method, device, terminal and storage medium | |
CN112306332B (en) | Method, device and equipment for determining selected target and storage medium | |
CN111672115B (en) | Virtual object control method and device, computer equipment and storage medium | |
CN113134232A (en) | Virtual object control method, device, equipment and computer readable storage medium | |
CN112755517A (en) | Virtual object control method, device, terminal and storage medium | |
CN112755526A (en) | Virtual item control method, device, terminal and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |