Nothing Special   »   [go: up one dir, main page]

CN110215686A - Display control method and device, storage medium and electronic equipment in scene of game - Google Patents

Display control method and device, storage medium and electronic equipment in scene of game Download PDF

Info

Publication number
CN110215686A
CN110215686A CN201910567719.6A CN201910567719A CN110215686A CN 110215686 A CN110215686 A CN 110215686A CN 201910567719 A CN201910567719 A CN 201910567719A CN 110215686 A CN110215686 A CN 110215686A
Authority
CN
China
Prior art keywords
game
scene
plane
virtual objects
reference plane
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.)
Granted
Application number
CN201910567719.6A
Other languages
Chinese (zh)
Other versions
CN110215686B (en
Inventor
林森
郑文劲
赵鸣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201910567719.6A priority Critical patent/CN110215686B/en
Publication of CN110215686A publication Critical patent/CN110215686A/en
Application granted granted Critical
Publication of CN110215686B publication Critical patent/CN110215686B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/20Input arrangements for video game devices
    • A63F13/21Input arrangements for video game devices characterised by their sensors, purposes or types
    • A63F13/214Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads
    • A63F13/2145Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads the surface being also a display device, e.g. touch screens
    • 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/20Input arrangements for video game devices
    • A63F13/23Input arrangements for video game devices for interfacing with the game device, e.g. specific interfaces between game controller and console
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Display control method and device, storage medium and electronic equipment this disclosure relates to game technical field, in particular in a kind of scene of game.Wherein, the above method includes: the preset touch operation that response acts on virtual objects in the scene of game, according to the object type of the virtual objects, determines a reference plane for meeting preset condition;Determine that the virtual objects correspond to the display parameters at interface according to the reference plane;The interface is shown in the reference plane according to the display parameters, wherein the display content at the interface is related to the virtual objects.The display of the technical program user interface adaptively changing according to scene conversion, so that user interface and scene of game are in Fusion Strain, user interface in the related technology and scene is overcome to be in the drawbacks of isolating state, so that the technical program is conducive to promote game and substitute into feel.

Description

Display control method and device, storage medium and electronic equipment in scene of game
Technical field
This disclosure relates to game technical field, in particular to the display control method in a kind of scene of game, game Display control method device in scene, and realize the computer-readable storage of the display control method in above-mentioned scene of game Medium and electronic equipment.
Background technique
Generally game scenario, game play etc. can be introduced to player by the information that user interface carries in game.
One kind in the prior art, pops up corresponding two-dimentional after game player is by clicking the operations such as button, in game picture User interface is shown in a manner of pure-surface, the directly former game picture of masking.This mode generates game player and interrupts sense, It is unfavorable for promoting game and substituting into feeling, is also unfavorable for the experience fluency of game player.
Two-dimensional user interface processing is with saturating on the basis of the first prior art in the prior art by another kind Depending on pattern, with reduce interrupt sense to what game player generated.However, pass is not generated between such user interface and scene of game Connection, user interface layer are still in scene and isolate state, it is seen that game substitutes into sense and needs to be further increased.
It should be noted that information is only used for reinforcing the reason to the background of the disclosure disclosed in above-mentioned background technology part Solution, therefore may include the information not constituted to the prior art known to persons of ordinary skill in the art.
Summary of the invention
The display control method and device, computer storage medium of the disclosure being designed to provide in a kind of scene of game And electronic equipment so that user interface is associated with scene of game, can be according to the change of scene of game and adaptability transformation is aobvious Show position, and then promotes game at least to a certain extent and substitute into sense.
Other characteristics and advantages of the disclosure will be apparent from by the following detailed description, or partially by the disclosure Practice and acquistion.
According to the disclosure in a first aspect, providing the display control method in a kind of scene of game, which comprises
Response acts on the preset touch operation of virtual objects in the scene of game, according to the object of the virtual objects Type determines a reference plane for meeting preset condition;
Determine that the virtual objects correspond to the display parameters at interface according to the reference plane;
The interface is shown in the reference plane according to the display parameters, wherein the display content at the interface It is related to the virtual objects.
In some embodiments of the present disclosure, aforementioned schemes are based on, the object type according to the virtual objects determines One meets the reference plane of preset condition, comprising:
If the virtual objects are specific virtual objects, the reference plane is determined on the virtual objects.
In some embodiments of the present disclosure, aforementioned schemes are based on, include a virtual role, the side in the scene of game Method further include:
The virtual role is controlled to be moved in the scene of game and the associated predeterminated position of the virtual objects.
In some embodiments of the present disclosure, aforementioned schemes are based on, the object type according to the virtual objects determines One meets the reference plane of preset condition, comprising:
If the virtual objects are nonspecific virtual objects, the reference plane is determined in the scene of game.
In some embodiments of the present disclosure, be based on aforementioned schemes, include a virtual role in the scene of game, it is described The reference plane is determined in the scene of game, comprising:
Obtain the current direction of the virtual role;
The reference plane is determined in multiple planes according to the current direction, wherein the reference plane is located at institute It states within the scope of the pre-determined distance of virtual role.
In some embodiments of the present disclosure, aforementioned schemes are based on, include a virtual role in the scene of game, described According to the object type of the virtual objects, a reference plane for meeting preset condition is determined, comprising:
If the virtual objects are nonspecific virtual objects, the current direction of the virtual role is obtained;
Predeterminated position according to the current direction in the scene of game generates a reference plane.
In some embodiments of the present disclosure, aforementioned schemes are based on, it is described true in multiple planes according to the current direction The fixed reference plane, comprising:
Determine the currently plane towards area in the multiple plane in indication range greater than preset value as institute State reference plane.
In some embodiments of the present disclosure, aforementioned schemes are based on, it is described true in multiple planes according to the current direction The fixed reference plane, comprising:
Obtain the plane direction of the multiple plane;In the multiple plane, determines the plane direction and described work as The previous dynasty is to meeting the plane of predetermined angle as the reference plane.
In some embodiments of the present disclosure, aforementioned schemes are based on, it is described to determine that the reference is flat in the scene of game Face, comprising:
Obtain multiple planes in scene of game;Obtain the position of virtual role in scene of game;It determines according to the following formula The scoring of the multiple plane, and the reference plane is determined in the multiple plane according to the scoring;
S=A*s+B*L+C*m;
Wherein, S indicates scoring, and s indicates the area of each plane in the multiple plane, L indicate the plane with it is described The distance between virtual role, m are indicated in scene of game with the plane towards identical plane number;A, B, C are weighted value.
In some embodiments of the present disclosure, aforementioned schemes are based on, described flat in the reference according to the display parameters Before showing the interface on face, the method also includes:
The destination virtual object at the interface is blocked in detection scene of game, and hides the destination virtual object.
According to the second aspect of an embodiment of the present disclosure, the display control unit in scene of game, described device packet are provided It includes:
Reference plane determining module, is configured as: response acts on the preset touch of virtual objects in the scene of game Operation, according to the object type of the virtual objects, determines a reference plane for meeting preset condition;
Display parameters determining module, is configured as: determining that the virtual objects correspond to interface according to the reference plane Display parameters;
Interface display module is configured as: the interface is shown in the reference plane according to the display parameters, In, the display content at the interface is related to the virtual objects.
According to the third aspect of an embodiment of the present disclosure, a kind of computer-readable medium is provided, computer is stored thereon with Program realizes the display control in the scene of game as described in first aspect in above-described embodiment when described program is executed by processor Method processed.
According to a fourth aspect of embodiments of the present disclosure, a kind of electronic equipment is provided, comprising: one or more processors; Storage device, for storing one or more programs, when one or more of programs are held by one or more of processors When row, so that one or more of processors realize the display in the scene of game as described in first aspect in above-described embodiment Control method.
The technical solution that the embodiment of the present disclosure provides can include the following benefits:
In some embodiments that the disclosure provides, on the one hand, response acts on the default of virtual objects in scene of game Touch control operation obtains the corresponding current scene information of virtual camera, and according to current scene information and pair of virtual objects As type, the reference plane of display user interface is determined.As it can be seen that the display of user interface is according to scene conversion in the technical program And adaptively changing overcomes user interface in the related technology and scene so that user interface and scene of game are in Fusion Strain In the drawbacks of isolating state, so that the technical program is conducive to promote game and substitute into feel.On the other hand, it is used in the technical program The display content at family interface is related to virtual objects, is conducive to game player and incorporates into scene of game, further promotes game Substitute into sense.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.It should be evident that the accompanying drawings in the following description is only the disclosure Some embodiments for those of ordinary skill in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.In the accompanying drawings:
Fig. 1 schematically shows the schematic diagram of disclosure exemplary embodiment game scenario;
Fig. 2 schematically shows the flow chart of the display control method in disclosure exemplary embodiment game scenario;
Fig. 3 schematically shows the schematic diagram of the exemplary embodiment game scenario of the disclosure;
Fig. 4 schematically shows the schematic diagram of the exemplary another embodiment game scenario of the disclosure;
Fig. 5 schematically shows the structure chart of the display control unit in disclosure exemplary embodiment game scenario;
Fig. 6 diagrammatically illustrates the schematic diagram of the computer readable storage medium according to some embodiments of the present disclosure;
Fig. 7 diagrammatically illustrates the computer system for being suitable for the electronic equipment for being used to realize disclosure exemplary embodiment Structural schematic diagram.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be with a variety of shapes Formula is implemented, and is not understood as limited to example set forth herein;On the contrary, thesing embodiments are provided so that the disclosure will more Fully and completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.
In addition, described feature, structure or characteristic can be incorporated in one or more implementations in any suitable manner In example.In the following description, many details are provided to provide and fully understand to embodiment of the disclosure.However, It will be appreciated by persons skilled in the art that can with technical solution of the disclosure without one or more in specific detail, Or it can be using other methods, constituent element, device, step etc..In other cases, it is not shown in detail or describes known side Method, device, realization or operation are to avoid fuzzy all aspects of this disclosure.
Block diagram shown in the drawings is only functional entity, not necessarily must be corresponding with physically separate entity. I.e., it is possible to realize these functional entitys using software form, or realized in one or more hardware modules or integrated circuit These functional entitys, or these functional entitys are realized in heterogeneous networks and/or processor device and/or microcontroller device.
Flow chart shown in the drawings is merely illustrative, it is not necessary to including all content and operation/step, It is not required to execute by described sequence.For example, some operation/steps can also decompose, and some operation/steps can close And or part merge, therefore the sequence actually executed is possible to change according to the actual situation.
In response to the touch control operation of player, scene of game may be continually changing.Fig. 1 shows the reality according to the disclosure Apply the changed schematic diagram of scene of game of example.With reference to Fig. 1, include in the corresponding virtual camera of the first scene of game 11 The scene of game role 10 and the room of larger area arrangement.After game player furthers virtual camera, the second sports ground It is arranged in scape 12 comprising game role 10 and compared with the room of small area.In technical solution provided in this embodiment, user interface It is adaptive change according to the variation of above-mentioned scene, so that user interface and scene of game are in Fusion Strain, to mention It rises game and substitutes into sense.
Fig. 2 shows the processes of the display control method of user interface in scene of game according to an embodiment of the present disclosure to show It is intended to.Technical solution provided in this embodiment makes user interface associated with scene of game, being capable of changing according to scene of game Become and adaptability transformation display position, and then promotes game at least to a certain extent and substitute into sense.
Wherein, the executing subject of the information processing method in game provided in this embodiment can be with calculation processing function The equipment of energy, such as server or mobile terminal etc..
The method provided with reference to Fig. 2, the embodiment include the following:
Step S210, response acts on the preset touch operation of virtual objects in the scene of game, according to described virtual The object type of object determines a reference plane for meeting preset condition;
Step S220 determines that the virtual objects correspond to the display parameters at interface according to the reference plane;And
Step S230 shows the interface according to the display parameters, wherein the interface in the reference plane Show that content is related to the virtual objects.
In the technical solution that embodiment shown in Fig. 2 provides, on the one hand, response acts on virtual objects in scene of game Preset touch operation obtains the corresponding current scene information of virtual camera, and according to current scene information and virtual objects Object type, determine display user interface reference plane.As it can be seen that the display of user interface is according to scene in the technical program Conversion and adaptively changing so that user interface and scene of game be in Fusion Strain, overcome user interface in the related technology and Scene is in the drawbacks of isolating state, so that the technical program is conducive to promote game and substitute into feel.On the other hand, the technical program The display content of middle user interface is related to virtual objects, is conducive to game player and incorporates into scene of game, is further promoted Game substitutes into sense.
The specific embodiment of each step of embodiment illustrated in fig. 2 is described in detail below.
In the exemplary embodiment, in step S210, response acts on the default touching of virtual objects in scene of game Control operation, determines reference plane according to the object type of virtual objects.Illustratively, according to the object type of above-mentioned virtual objects Virtual objects in scene of game can be divided into: specific virtual objects and nonspecific virtual objects.
In the present embodiment, specific virtual objects can be the virtual objects in scene of game with a plane, be also possible to For virtual objects in the first preset state for example, with reference to Fig. 1, specific virtual objects can be cabinet in scene of game, not Computer screen, bed for being blocked etc..Nonspecific virtual objects can be the virtual objects or void for not having plane in scene of game Quasi- role is also possible to the virtual objects that the area of plane is less than preset area, can also be in the virtual of the second preset state Article, for example, nonspecific virtual objects can be the computer screen, desk lamp, virtual role etc. being blocked with reference to Fig. 3.
Preset touch operation can be clicking operation, long press operation, again by operation or slide etc..For default touching The action type of operation is controlled, the disclosure is without limitation.
In the present example embodiment, according to the object type of virtual objects in step S210, determine that a satisfaction presets item The reference plane of part, comprising: if virtual objects are specific virtual objects, reference plane is determined on virtual objects.
In the case where specific virtual objects, the technical program includes following embodiment:
In the exemplary embodiment, the specific embodiment of step S210 may is that direct virtual objects specific herein Upper determination is used to show the reference plane of user interface.With reference to Fig. 1, using the cabinet in Fig. 1 as specific virtual objects for, play The cabinet of family's touch-control scene of game, then will be determined as reference plane on a surface of specific virtual objects cabinet in the present embodiment, To show user interface in this reference planes.
In the present embodiment, reference plane associated with the special object in specific virtual objects is obtained.Wherein, with this The specific associated reference plane of virtual objects can be a specific plane of the specific virtual objects, and particular surface can be specific In all planes of virtual objects, the maximum plane of area.In other embodiments, with the specific associated reference of virtual objects Plane can also be the plane parallel with a specific plane of the specific virtual objects.
In the present embodiment, the information for the reference plane for being used to show is associated in advance with virtual role, is conducive to be promoted true Determine the speed of reference plane.
Illustratively, with reference to Fig. 4, using the virtual cabinet 41 in scene of game as specific virtual objects, plane 42 and cabinet One surface of son 41 is parallel, and cover with the surface of cabinet 41, then can reference planes by plane 42 as cabinet 41, and Plane 42 is associated with cabinet 41.To which response acts on the touch control operation of lower cabinet 41, obtains associated with cabinet 41 flat Face 42 is used as reference plane.It should be understood that a plane of plane 42 or cabinet 41 itself.
Illustratively, with reference to Fig. 4, using the virtual bed 43 in scene of game as specific virtual objects, plane 44 and plane 45 be respectively the different surfaces of bed 43, then can reference planes by plane 44 or plane 45 as bed 43, and by plane 44, put down Face 45 is associated with bed 43.To which response acts on the touch control operation of bed 43, associated with bed 43 according to position of touch determination Plane 44 or plane 45 are used as reference plane.
In the exemplary embodiment, the specific embodiment of step S220 may is that and above-mentioned specific virtual objects phase Associated reference plane also includes interface display parameter, wherein the display parameters that specific virtual objects correspond to interface include: interface With the display scale of reference plane, the display position of the display size and display direction at interface and interface in reference plane.
In turn, in step S230, the interface is shown in above-mentioned reference plane according to above-mentioned display parameters.Specifically , position and angle of the virtual camera in scene of game are adjusted according to display parameters, so that interface exists according to display parameters Reference plane is shown.Illustratively, with reference to Fig. 4, interface and the display scale of reference plane 42 are λ, according to above-mentioned display parameters The interface is shown in above-mentioned reference plane, including, the 42 area Δ of reference plane of cabinet 41 is obtained, may thereby determine that touching The display area of the user interface in reference planes 42 is shown in after control cabinet 41 are as follows: λ × Δ;Further, reference is obtained The angle a of plane 42 and the current direction of virtual camera faces cabinet 41 by control virtual camera in scene of game, and With cabinet 41 for center gyration a, so that 42 face virtual camera of reference plane, the i.e. direction of virtual camera and reference are flat Face 42 is vertical.
In the present embodiment, the display scale of display parameters median surface and reference plane can be fixed value, and interface is aobvious Show that size can be according to the determination of terminal screen display size and interface display direction according to the current towards really of virtual camera Fixed, then the display size of user interface can be carried out according to the size of relevant virtual objects and the display size of terminal screen Adaptively changing, optimal display result is presented.Referring to above-described embodiment, further, according to the display size of terminal screen Determine interface shows dimensions as M (M > λ × Δ), then, control virtual camera is mobile towards cabinet 41, so that interface is aobvious Show that size is enlarged into M by λ × Δ.In the present example embodiment, according to display parameters in reference plane display interface.Its In, the display content at interface is related to virtual objects.
In one specific embodiment of the disclosure, as shown in Figure 1, response act on computer preset touch operation and show In user interface, display content is the related content of computer.Illustratively, display content can be the content in the screen of computer (for example, chat content of virtual role), can also be the information such as the model of computer.
In disclosure another specific embodiment, response acts on the preset touch operation of cabinet 41 and user circle of display In face, display content can be the Item Information stored in cabinet 41, be also possible to the property parameters of cabinet.For example, cabinet Material, size etc..Response acts on the preset touch operation of cabinet 43 and in the user interface of display, and display content can be bed The property parameters of body.It can also be material, the dimension information etc. of sheet.
As it can be seen that user interface provided in this embodiment can play the role of that game player is helped to understand scene of game, together When, the display position of user interface, display are less than greatly virtual objects correlation.To avoid bringing fracture to feel to player, be conducive to Promote the game feeling of immersion of player.
It in the exemplary embodiment, include a virtual role, this method in scene of game further include: control virtual role It is moved in scene of game and the associated predeterminated position of virtual objects.That is, the reference planes of above-mentioned specific virtual objects are also preparatory It is associated with the mobile location information of game role.In response to the touch control operation to a specific virtual objects (e.g., cabinet 41).According to After determining the reference plane 42 for showing user interface with cabinet 41, also obtain and the associated game role 46 of cabinet 41 Mobile location information, and control virtual role 46 and be moved to corresponding position.For example, virtual role 46 is moved into reference plane Predeterminated position before 42, while the reference plane 42 is faced, show the relevant information for reading the cabinet 41 that user interface is shown.Again For example, virtual role 46 is moved into predeterminated position before reference plane 42, while back to the reference plane 42, showing explanation and using The relevant information of the cabinet 41 of family interface display.As it can be seen that user interface provided in this embodiment is conducive to scene of game image Change, so that promoting game substitutes into sense.
In the present example embodiment, according to the object type of virtual objects in step S210, determine that a satisfaction presets item The reference plane of part, comprising: if virtual objects are nonspecific virtual objects, reference plane is determined in scene of game.
In the case where nonspecific virtual objects, the technical program includes following embodiment:
In the exemplary embodiment, the specific embodiment of step S210, which may is that, determines one in current game scene For showing the reference plane of user interface.For example, can be using plane qualified in scene of game as reference plane.
In the exemplary embodiment, determine that the specific embodiment of reference planes may is that acquisition according to scene of game Multiple planes in current game scene, and obtain the position of virtual role in scene of game.Further, according to following public affairs Formula determines the scoring of above-mentioned multiple planes, to determine reference planes according to scoring.Wherein, scoring formula is as follows:
S=A*s+B*L+C*m;
Wherein, S indicates scoring, and S indicates scoring, and s indicates the area of each plane in the multiple plane, described in L expression The distance between plane and the virtual role, m are indicated in scene of game with the plane towards identical plane number;A,B, C is weighted value.
In the exemplary embodiment, a kind of specific embodiment determining reference plane from current game scene are as follows: If in current game scene including a virtual role: the current direction of above-mentioned virtual role is obtained, and according to above-mentioned virtual angle The current direction of color determines reference plane in multiple planes.
Illustratively, reference plane can be located within the scope of the pre-determined distance of above-mentioned virtual role.To be shown in reference User interface in plane also is located within the scope of the pre-determined distance of above-mentioned virtual role.Thus by user interface and virtual role phase Association.It is possible to prevente effectively from user interface and virtual role apart from too far bring feeling of unreality, are conducive to the trip for promoting player Play feeling of immersion.
Fig. 3 is illustratively referred to, using the computer 31 in scene of game as nonspecific virtual objects, plane 32 is sports ground Plane Jing Zhongyi parallel with the screen of computer 31 determines that plane 32 is reference planes.Response acts on the touch-control behaviour of computer 31 Make, the display interface in plane 32.
In the exemplary embodiment, a kind of that the reference is determined according to the direction of above-mentioned virtual role in multiple planes The specific embodiment of plane are as follows: in the indication range of the current direction of virtual role, determine that the area of plane is greater than preset value Virtual plane is as above-mentioned reference plane.In the present embodiment, since the biggish virtual face of area more easily causes in scene of game The vision attention of player, therefore using the virtual face of larger display area as reference plane, be conducive to player and quickly capture user Interface promotes the game experiencing of player.
In the exemplary embodiment, a kind of that the reference is determined according to the direction of above-mentioned virtual role in multiple planes The specific embodiment of plane are as follows: obtain the plane direction of above-mentioned multiple planes;And in above-mentioned multiple planes, determine flat Meet the plane of predetermined angle as reference plane facing towards the current direction with virtual role.
Specifically, the current direction of above-mentioned virtual role can be down to face orientation, finger direction etc..For example, the plane of reference can With on the direction that the finger of virtual role is directed toward, in the range of virtual objects pre-determined distance, and then realistic looking representation is virtual Role shows the scene of game of user interface, is conducive to promote game and substitute into feel.
In the exemplary embodiment, in the case where nonspecific virtual objects, S210 determines reference through the above steps After plane, the specific embodiment of step S220/ step S230, with step S220/ in the case where specific virtual objects The specific embodiment of step S230 is identical, and details are not described herein.
In the exemplary embodiment, it according to before showing above-mentioned user interface, obtains in scene of game and blocks user The virtual objects at interface, i.e., the virtual objects between user interface and virtual camera are as target object, further, Destination virtual object is hidden, to avoid user interface is blocked due to target object caused by player can not observe The problem of whole user interface.
It will be appreciated by those skilled in the art that realizing that all or part of the steps of above embodiment is implemented as being held by CPU Capable computer program.When the computer program is executed by CPU, execute above-mentioned defined by the above method provided by the invention Function.The program can store in a kind of computer readable storage medium, which can be read-only memory, Disk or CD etc..
Further, it should be noted that above-mentioned attached drawing is only according to the present invention included by the method for illustrative embodiments Processing schematically illustrates, rather than limits purpose.It can be readily appreciated that above-mentioned processing shown in the drawings does not indicate or limits these The time sequencing of processing.In addition, being also easy to understand, these processing, which can be, for example either synchronously or asynchronously to be executed in multiple modules 's.
The Installation practice of the disclosure introduced below can be used for executing the above-mentioned case history letter based on block chain of the disclosure Cease processing method.
Fig. 5 shows the structural schematic diagram of the display control unit in disclosure exemplary embodiment game scenario.Such as Fig. 5 Shown, the display control unit 500 in above-mentioned scene of game includes: reference plane determining module 501, display parameters determining module 502 and interface display module 503.
Wherein: above-mentioned reference plane determining module 501 is configured as: response acts on virtual right in the scene of game The preset touch of elephant operates, and according to the object type of the virtual objects, determines a reference plane for meeting preset condition;
Above-mentioned display parameters determining module 502, is configured as: determining that the virtual objects are corresponding according to the reference plane The display parameters at interface;And
Above-mentioned interface display module 503, is configured as: described in being shown in the reference plane according to the display parameters Interface, wherein the display content at the interface is related to the virtual objects
In the exemplary embodiment, aforementioned schemes are based on, above-mentioned reference plane determining module 501 is specifically configured to: If the virtual objects are specific virtual objects, the reference plane is determined on the virtual objects.
In the exemplary embodiment, aforementioned schemes are based on, include a virtual role, above-mentioned apparatus in the scene of game Further include: mobile control module.
Wherein, above-mentioned mobile control module is configured as: control the virtual role be moved in the scene of game with The associated predeterminated position of virtual objects.
In the exemplary embodiment, aforementioned schemes are based on, above-mentioned reference plane determining module 501 is specifically configured to: If the virtual objects are nonspecific virtual objects, the reference plane is determined in the scene of game.
In the exemplary embodiment, aforementioned schemes are based on, include a virtual role, above-mentioned reference in the scene of game Plane determining module 501, including acquiring unit and determination unit.Wherein, above-mentioned acquiring unit is specifically configured to: described in acquisition The current direction of virtual role;And above-mentioned determination unit is specifically configured to: in multiple planes according to the current direction Determine the reference plane, wherein the reference plane is located within the scope of the pre-determined distance of the virtual role.
In the exemplary embodiment, aforementioned schemes are based on, include a virtual role, above-mentioned reference in the scene of game Plane determining module 501, is specifically configured to: if the virtual objects are nonspecific virtual objects, obtaining the virtual role Current direction;And the predeterminated position according to the current direction in the scene of game generates a reference plane.
In the exemplary embodiment, aforementioned schemes are based on, above-mentioned determination unit is specifically configured to: worked as described in determining Area is greater than the plane of preset value as the reference plane in the multiple plane of the previous dynasty into indication range.
In the exemplary embodiment, aforementioned schemes are based on, above-mentioned determination unit is specifically configured to: obtained described more The plane direction of a plane;In the multiple plane, determine that the plane direction and the current direction meet predetermined angle Plane as the reference plane.
In the exemplary embodiment, aforementioned schemes are based on, above-mentioned reference plane determining module 501 is specifically configured to: Obtain multiple planes in scene of game;Obtain the position of virtual role in scene of game;It determines according to the following formula the multiple The scoring of plane, and the reference plane is determined in the multiple plane according to the scoring;
S=A*s+B*L+C*m;
Wherein, S indicates scoring, and s indicates the area of each plane in the multiple plane, L indicate the plane with it is described The distance between virtual role, m are indicated in scene of game with the plane towards identical plane number;A, B, C are weighted value.
In the exemplary embodiment, aforementioned schemes, above-mentioned apparatus are based on further include: hide control module.
Wherein, above-mentioned hiding control module is configured as: being existed in above-mentioned interface display module 503 according to the display parameters Before showing the interface in the reference plane, the destination virtual object that the interface is blocked in scene of game is detected, and hidden Hide the destination virtual object.
Due to the display control unit in the scene of game of the example embodiment of the disclosure each functional module with it is above-mentioned The step of example embodiment of display control method in scene of game, is corresponding, therefore for not draping over one's shoulders in embodiment of the present disclosure The details of dew please refers to the embodiment of the display control method in the above-mentioned scene of game of the disclosure.
It should be noted that although being referred to several modules or list for acting the equipment executed in the above detailed description Member, but this division is not enforceable.In fact, according to embodiment of the present disclosure, it is above-described two or more Module or the feature and function of unit can embody in a module or unit.Conversely, an above-described mould The feature and function of block or unit can be to be embodied by multiple modules or unit with further division.
In addition, although describing each step of method in the disclosure in the accompanying drawings with particular order, this does not really want These steps must be executed in this particular order by asking or implying, or having to carry out step shown in whole could realize Desired result.Additional or alternative, it is convenient to omit multiple steps are merged into a step and executed by certain steps, and/ Or a step is decomposed into execution of multiple steps etc..
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented Mode can also be realized by software realization in such a way that software is in conjunction with necessary hardware.Therefore, according to the disclosure The technical solution of embodiment can be embodied in the form of software products, which can store non-volatile at one Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are so that a calculating Equipment (can be personal computer, server, mobile terminal or network equipment etc.) is executed according to disclosure embodiment Method.
In disclosure illustrative embodiments, a kind of computer storage Jie that can be realized the above method is additionally provided Matter.It is stored thereon with the program product that can be realized this specification above method.In some possible embodiments, the disclosure Various aspects are also implemented as a kind of form of program product comprising program code, when described program product is set in terminal When standby upper operation, said program code is retouched in above-mentioned " illustrative methods " part of this specification for executing the terminal device The step of illustrative embodiments various according to the disclosure stated.
Refering to what is shown in Fig. 6, describing the program product for realizing the above method according to embodiment of the present disclosure 600, can using portable compact disc read only memory (CD-ROM) and including program code, and can in terminal device, Such as it is run on PC.However, the program product of the disclosure is without being limited thereto, in this document, readable storage medium storing program for executing can be with To be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or It is in connection.
Described program product can be using any combination of one or more readable mediums.Readable medium can be readable letter Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or System, device or the device of semiconductor, or any above combination.The more specific example of readable storage medium storing program for executing is (non exhaustive List) include: electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), read-only Memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, In carry readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetic signal, Optical signal or above-mentioned any appropriate combination.Readable signal medium can also be any readable Jie other than readable storage medium storing program for executing Matter, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or and its The program of combined use.
The program code for including on readable medium can transmit with any suitable medium, including but not limited to wirelessly, have Line, optical cable, RF etc. or above-mentioned any appropriate combination.
Can with any combination of one or more programming languages come write for execute the disclosure operation program Code, described program design language include object oriented program language-Java, C++ etc., further include conventional Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user It calculates and executes in equipment, partly executes on a user device, being executed as an independent software package, partially in user's calculating Upper side point is executed on a remote computing or is executed in remote computing device or server completely.It is being related to far Journey calculates in the situation of equipment, and remote computing device can pass through the network of any kind, including local area network (LAN) or wide area network (WAN), it is connected to user calculating equipment, or, it may be connected to external computing device (such as utilize ISP To be connected by internet).
In addition, in an exemplary embodiment of the disclosure, additionally providing a kind of electronic equipment that can be realized the above method.
Person of ordinary skill in the field it is understood that various aspects of the disclosure can be implemented as system, method or Program product.Therefore, various aspects of the disclosure can be with specific implementation is as follows, it may be assumed that complete hardware embodiment, complete The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here Referred to as circuit, " module " or " system ".
The electronic equipment 700 of this embodiment according to the disclosure is described referring to Fig. 7.The electronics that Fig. 7 is shown Equipment 700 is only an example, should not function to the embodiment of the present disclosure and use scope bring any restrictions.
As shown in fig. 7, electronic equipment 700 is showed in the form of universal computing device.The component of electronic equipment 700 can wrap It includes but is not limited to: at least one above-mentioned processing unit 710, at least one above-mentioned storage unit 720, the different system components of connection The bus 730 of (including storage unit 720 and processing unit 710).
Wherein, the storage unit is stored with program code, and said program code can be held by the processing unit 710 Row, so that various according to the disclosure described in the execution of the processing unit 710 above-mentioned " illustrative methods " part of this specification The step of illustrative embodiments.For example, the processing unit 710 can execute as shown in Figure 1: step S110, response The preset touch operation for acting on virtual objects in the scene of game, according to the object type of the virtual objects, determines one Meet the reference plane of preset condition;Step S120 determines that the virtual objects correspond to the aobvious of interface according to the reference plane Show parameter;And step S130, the interface is shown in the reference plane according to the display parameters, wherein the boundary The display content in face is related to the virtual objects.
Storage unit 720 may include the readable medium of volatile memory cell form, such as Random Access Storage Unit (RAM) 7201 and/or cache memory unit 7202, it can further include read-only memory unit (ROM) 7203.
Storage unit 720 can also include program/utility with one group of (at least one) program module 7205 7204, such program module 7205 includes but is not limited to: operating system, one or more application program, other program moulds It may include the realization of network environment in block and program data, each of these examples or certain combination.
Bus 730 can be to indicate one of a few class bus structures or a variety of, including storage unit bus or storage Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures Local bus.
Electronic equipment 700 can also be with one or more external equipments 800 (such as keyboard, sensing equipment, bluetooth equipment Deng) communication, can also be enabled a user to one or more equipment interact with the electronic equipment 700 communicate, and/or with make Any equipment (such as the router, modulation /demodulation that the electronic equipment 700 can be communicated with one or more of the other calculating equipment Device etc.) communication.This communication can be carried out by input/output (I/O) interface 750.Also, electronic equipment 700 can be with By network adapter 760 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network, Such as internet) communication.As shown, network adapter 760 is communicated by bus 730 with other modules of electronic equipment 700. It should be understood that although not shown in the drawings, other hardware and/or software module can not used in conjunction with electronic equipment 700, including but not Be limited to: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and Data backup storage system etc..
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented Mode can also be realized by software realization in such a way that software is in conjunction with necessary hardware.Therefore, according to the disclosure The technical solution of embodiment can be embodied in the form of software products, which can store non-volatile at one Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are so that a calculating Equipment (can be personal computer, server, terminal installation or network equipment etc.) is executed according to disclosure embodiment Method.
In addition, above-mentioned attached drawing is only the schematic theory of the processing according to included by the method for disclosure exemplary embodiment It is bright, rather than limit purpose.It can be readily appreciated that the time that above-mentioned processing shown in the drawings did not indicated or limited these processing is suitable Sequence.In addition, be also easy to understand, these processing, which can be, for example either synchronously or asynchronously to be executed in multiple modules.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure His embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Adaptive change follow the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure or Conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by claim It points out.

Claims (13)

1. the display control method in a kind of scene of game, which is characterized in that the described method includes:
Response acts on the preset touch operation of virtual objects in the scene of game, according to the object class of the virtual objects Type determines a reference plane for meeting preset condition;
Determine that the virtual objects correspond to the display parameters at interface according to the reference plane;
The interface is shown in the reference plane according to the display parameters, wherein the display content at the interface and institute State virtual objects correlation.
2. the method according to claim 1, wherein the object type according to the virtual objects, determines One meets the reference plane of preset condition, comprising:
If the virtual objects are specific virtual objects, the reference plane is determined on the virtual objects.
3. according to the method described in claim 2, it is characterized in that, including a virtual role, the side in the scene of game Method further include:
The virtual role is controlled to be moved in the scene of game and the associated predeterminated position of the virtual objects.
4. the method according to claim 1, wherein the object type according to the virtual objects, determines One meets the reference plane of preset condition, comprising:
If the virtual objects are nonspecific virtual objects, the reference plane is determined in the scene of game.
5. according to the method described in claim 4, it is characterized in that, in the scene of game include a virtual role, it is described The reference plane is determined in the scene of game, comprising:
Obtain the current direction of the virtual role;
The reference plane is determined in multiple planes according to the current direction, wherein the reference plane is located at the void Within the scope of the pre-determined distance of quasi- role.
6. the method according to claim 1, wherein in the scene of game include a virtual role, described According to the object type of the virtual objects, a reference plane for meeting preset condition is determined, comprising:
If the virtual objects are nonspecific virtual objects, the current direction of the virtual role is obtained;
Predeterminated position according to the current direction in the scene of game generates a reference plane.
7. method according to claim 5, which is characterized in that described to determine institute in multiple planes according to the current direction State reference plane, comprising:
Determine the currently plane towards area in the multiple plane in indication range greater than preset value as the ginseng According to plane.
8. according to the method described in claim 5, it is characterized in that, described determine in multiple planes according to the current direction The reference plane, comprising:
Obtain the plane direction of the multiple plane;
In the multiple plane, determine that the plane direction and the current direction meet described in the plane conduct of predetermined angle Reference plane.
9. according to the method described in claim 4, it is characterized in that, described determine that the reference is flat in the scene of game Face, comprising:
Obtain multiple planes in scene of game;
Obtain the position of virtual role in scene of game;
The scoring of the multiple plane is determined according to the following formula, and according to scoring determination in the multiple plane Reference plane;
S=A*s+B*L+C*m;
Wherein, S indicates scoring, and s indicates the area of each plane in the multiple plane, and L indicates the plane and described virtual The distance between role, m are indicated in scene of game with the plane towards identical plane number;A, B, C are weighted value.
10. according to claim 1 to method described in 9 any one, which is characterized in that existed described according to the display parameters Before showing the interface in the reference plane, the method also includes:
The destination virtual object at the interface is blocked in detection scene of game, and hides the destination virtual object.
11. the display control unit in a kind of scene of game, which is characterized in that described device includes:
Reference plane determining module, is configured as: response acts on the preset touch operation of virtual objects in the scene of game, According to the object type of the virtual objects, a reference plane for meeting preset condition is determined;
Display parameters determining module, is configured as: determining that the virtual objects correspond to the display at interface according to the reference plane Parameter;
Interface display module is configured as: the interface is shown in the reference plane according to the display parameters, wherein The display content at the interface is related to the virtual objects.
12. a kind of computer-readable medium, is stored thereon with computer program, which is characterized in that described program is held by processor The display control method in the scene of game as described in any one of claims 1 to 10 is realized when row.
13. a kind of electronic equipment characterized by comprising
One or more processors;
Storage device, for storing one or more programs, when one or more of programs are by one or more of processing When device executes, so that one or more of processors are realized in the scene of game as described in any one of claims 1 to 10 Display control method.
CN201910567719.6A 2019-06-27 2019-06-27 Display control method and device in game scene, storage medium and electronic equipment Active CN110215686B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910567719.6A CN110215686B (en) 2019-06-27 2019-06-27 Display control method and device in game scene, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910567719.6A CN110215686B (en) 2019-06-27 2019-06-27 Display control method and device in game scene, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN110215686A true CN110215686A (en) 2019-09-10
CN110215686B CN110215686B (en) 2023-01-06

Family

ID=67815106

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910567719.6A Active CN110215686B (en) 2019-06-27 2019-06-27 Display control method and device in game scene, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN110215686B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111158824A (en) * 2019-12-27 2020-05-15 上海米哈游天命科技有限公司 Interface display method, device, equipment and medium
CN112473137A (en) * 2020-12-08 2021-03-12 网易(杭州)网络有限公司 Game object display method and device, storage medium and terminal equipment
CN114299202A (en) * 2021-12-30 2022-04-08 完美世界(北京)软件科技发展有限公司 Processing method and device for virtual scene creation, storage medium and terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105825499A (en) * 2016-03-09 2016-08-03 京东方科技集团股份有限公司 Reference plane determination method and determination system
US20170072305A1 (en) * 2015-09-16 2017-03-16 Gree, Inc. Virtual image display program, virtual image display apparatus, and virtual image display method
CN109621415A (en) * 2018-12-26 2019-04-16 网易(杭州)网络有限公司 Display control method and device in 3D game, computer storage medium
CN109871826A (en) * 2019-03-14 2019-06-11 腾讯科技(深圳)有限公司 Information displaying method, device, computer readable storage medium and computer equipment
CN109876439A (en) * 2019-03-07 2019-06-14 网易(杭州)网络有限公司 Game picture display methods and device, storage medium, electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170072305A1 (en) * 2015-09-16 2017-03-16 Gree, Inc. Virtual image display program, virtual image display apparatus, and virtual image display method
CN105825499A (en) * 2016-03-09 2016-08-03 京东方科技集团股份有限公司 Reference plane determination method and determination system
CN109621415A (en) * 2018-12-26 2019-04-16 网易(杭州)网络有限公司 Display control method and device in 3D game, computer storage medium
CN109876439A (en) * 2019-03-07 2019-06-14 网易(杭州)网络有限公司 Game picture display methods and device, storage medium, electronic equipment
CN109871826A (en) * 2019-03-14 2019-06-11 腾讯科技(深圳)有限公司 Information displaying method, device, computer readable storage medium and computer equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111158824A (en) * 2019-12-27 2020-05-15 上海米哈游天命科技有限公司 Interface display method, device, equipment and medium
CN112473137A (en) * 2020-12-08 2021-03-12 网易(杭州)网络有限公司 Game object display method and device, storage medium and terminal equipment
CN112473137B (en) * 2020-12-08 2023-11-28 网易(杭州)网络有限公司 Game object display method and device, storage medium and terminal equipment
CN114299202A (en) * 2021-12-30 2022-04-08 完美世界(北京)软件科技发展有限公司 Processing method and device for virtual scene creation, storage medium and terminal

Also Published As

Publication number Publication date
CN110215686B (en) 2023-01-06

Similar Documents

Publication Publication Date Title
CN107890672B (en) Visible sensation method and device, storage medium, the electronic equipment of compensating sound information
US11221730B2 (en) Input device for VR/AR applications
EP3665559B1 (en) Electronic device and method for executing function using input interface displayed via at least portion of content
EP2919104B1 (en) Information processing device, information processing method, and computer-readable recording medium
CN109725956B (en) Scene rendering method and related device
CN107656620A (en) Virtual object control method, device, electronic equipment and storage medium
CN110215686A (en) Display control method and device, storage medium and electronic equipment in scene of game
CN108776544B (en) Interaction method and device in augmented reality, storage medium and electronic equipment
CN113396378A (en) System and method for a multipurpose input device for two-dimensional and three-dimensional environments
CN109460179A (en) Virtual object control method and device, electronic equipment, storage medium
CN108355352A (en) Dummy object control method and device, electronic equipment, storage medium
CN108245889A (en) Free-viewing angle is towards switching method and device, storage medium, electronic equipment
CN108815843A (en) The control method and device of virtual rocking bar
CN107491262A (en) Virtual object control method and device, storage medium, electronic equipment
US10665067B2 (en) Systems and methods for integrating haptics overlay in augmented reality
EP3483713A1 (en) System and method for modulation of control interface feedback
CN110908568A (en) Control method and device for virtual object
CN110227255A (en) Interaction control method, device and the electronic equipment of virtual container in VR game
CN113112613B (en) Model display method and device, electronic equipment and storage medium
KR20240112287A (en) Metaverse content modality mapping
CN108804007A (en) Image-pickup method, device, storage medium and electronic equipment
CN107977071B (en) Operation method and device suitable for space system
CN110162251A (en) Image-scaling method and device, storage medium, electronic equipment
CN117270732A (en) Control interaction method and device, electronic equipment and storage medium
CN108499102A (en) Information interface methods of exhibiting and device, storage medium, electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant