Summary of the invention
For this reason, the invention provides a kind of new scene of game figure layer display methods and computing equipment, to try hard toSolution or the problem that at least alleviation exists above.
According to an aspect of the present invention, provide a kind of scene of game figure layer display methods, at computing equipmentMiddle execution, the method comprises: obtain and show that role schemes layer and the first scene graph layer; At the first scene graphAfter layer shows, judge in the scheduled time, whether the average frame number of video is greater than the first predetermined threshold; If predeterminedIn time, the average frame number of video is greater than the first predetermined threshold, is showing that role schemes layer and the first scene graph layerBasis on, obtain and show the second scene graph layer, otherwise, show that role schemes layer and the first scene graph layer;After the second scene graph layer shows, judge in the scheduled time, whether the average frame number of video is greater than the first predetermined thresholdValue; If the scheduled time in the average frame number of video be greater than the first predetermined threshold, show role scheme layer,On the basis of the first scene graph layer and the second scene graph layer, obtain and show the 3rd scene graph layer, otherwise,Show that role schemes layer and the first scene graph layer; After the 3rd scene graph layer shows, judge in the scheduled time and lookWhether frequently average frame number is greater than the first predetermined threshold; If the average frame number of video is greater than first in the scheduled timePredetermined threshold, shows that role schemes layer, the first scene graph layer, the second scene graph layer and the 3rd scene graph layer,Otherwise, show that role schemes layer, the first scene graph layer and the second scene graph layer.
Alternatively, in the method according to the invention, the first scene graph layer comprises basal layer and distant view layer,The second scene graph layer comprises ground floor and magic arts layer, and the 3rd field pattern layer comprises close shot layer.
Alternatively, in the method according to the invention, role schemes layer and comprises role image and non-Role image.
Alternatively, in the method according to the invention, also comprise: according to scheming with role the angle that layer is associatedLook attribute list, determines whether non-role image is presented at role and schemes layer, and role attribute table comprisesGrade, task and the progress of role and non-role.
Alternatively, in the method according to the invention, also comprise: after each scene graph layer shows, sentenceIn the disconnected scheduled time, whether the average frame number of video is less than the first predetermined threshold and is greater than the second predetermined threshold; AsIn the fruit scheduled time, the average frame number of video is less than the first predetermined threshold and is greater than the second predetermined threshold, at angleChromatic graph layer is hidden other role images of the first predetermined quantity; If video is flat in the scheduled timeAll frame number is less than the second predetermined threshold, schemes other players' controls of layer hiding the second predetermined quantity roleCharacter image, wherein, the first predetermined quantity is less than the second predetermined quantity.
According to an aspect of the present invention, provide a kind of computing equipment, this equipment comprises: figure layer obtains listUnit, is suitable for obtaining role and schemes layer and scene graph layer; Display unit, is suitable for showing that role schemes layer and scene graphLayer; Performance element, is suitable for showing after the first scene graph layer at display unit, judges video in the scheduled timeWhether average frame number is greater than the first predetermined threshold, if the average frame number of video is greater than first pre-in the scheduled timeDetermine threshold value, indicator diagram layer acquiring unit obtained the second scene graph layer, and direction display unit shows role figureOn the basis of layer and the first scene graph layer, further show the second scene graph layer, otherwise, indicated number listUnit shows that role schemes layer and the first scene graph layer, shows after the second scene graph layer at display unit, and judgement is pre-Whether the average frame number of interior video of fixing time is greater than the first predetermined threshold, if video average frame in the scheduled timeNumber is greater than the first predetermined threshold, and indicator diagram layer acquiring unit obtained the 3rd scene graph layer, indicated number listUnit shows that role schemes, on the basis of layer, the first scene graph layer and the second scene graph layer, further to show the 3rdScene graph layer, otherwise direction display unit shows that role schemes layer and the first scene graph layer, at display unitShow after the 3rd scene graph layer judge in the scheduled time, whether the average frame number of video is greater than the first predetermined threshold,If the average frame number of video is greater than the first predetermined threshold in the scheduled time, direction display unit shows roleFigure layer, the first scene graph layer, the second scene graph layer and the 3rd scene graph layer, otherwise, direction display unitShow that role schemes layer, the first scene graph layer and the second scene graph layer.
Alternatively, in the device in accordance with the invention, the first scene graph layer comprises basal layer and distant view layer,The second scene graph layer comprises ground floor and magic arts layer, and the 3rd field pattern layer comprises close shot layer.
Alternatively, in the device in accordance with the invention, role schemes layer and comprises role image and non-Role image.
Alternatively, in the device in accordance with the invention, performance element is also suitable for: according to scheming a layer phase with roleAssociated role attribute table, determines whether non-role image is presented at role and schemes layer, and role belongs toProperty table comprises grade, task and the progress of role and non-role.
Alternatively, in the device in accordance with the invention, performance element is also suitable for: aobvious at each scene graph layerAfter showing, judge in the scheduled time whether the average frame number of video is less than the first predetermined threshold and is greater than second predeterminedThreshold value; If the average frame number of video is less than the first predetermined threshold and is greater than the second predetermined threshold in the scheduled time,Direction display unit is schemed other role images of layer hiding the first predetermined quantity role; AsIn the fruit scheduled time, the average frame number of video is less than the second predetermined threshold, and direction display unit is schemed layer roleOther role images of hiding the second predetermined quantity, wherein, the first predetermined quantity is less than secondPredetermined quantity.
According to technical scheme of the present invention, by the judgement to video frame number in game process, determine in tripThe scene graph layer showing in play, makes interface more smooth, has also reduced because of under scene graph layer simultaneouslyThe stand-by period of carrying and bring, improve user's experience.
Detailed description of the invention
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings in more detail. Although show in accompanying drawingExemplary embodiment of the present disclosure, but should be appreciated that and can realize the disclosure and not with various formsThe embodiment that should be set forth here limits. On the contrary, providing these embodiment is for can be more thoroughlyUnderstand the disclosure, and can be by the those skilled in the art that conveys to complete the scope of the present disclosure.
The structure chart of the computing equipment according to an embodiment of the invention 100 shown in Fig. 1.
As shown in Figure 1, this computing equipment 100 comprises: figure layer acquiring unit 110, display unit 120 andPerformance element 130.
When player plays network game by computing equipment such as computer, flat board, mobile terminal etc., computing equipmentDisplay unit 120 meetings show the interface that player plays games, and can show that role schemes layer and field in interfaceScape figure layer. Role schemes layer and generally comprises role image and non-role image.
Role is controlled by player in game, in online game, can comprise current player (By the player of this computing equipment logging in game) and other players (by networking other computing equipments step onThe player of record game) role that controls. Non-role (non-playercharacter) originates fromStandalone version game, extends to whole field of play gradually. Sometimes also make non-personcharacter, orNon-playablecharacter, makes a general reference the role who not controlled by player in all game. In electronic game,NPC is generally by the artificial intelligence control of playing.
In the time that player enters game, first figure layer acquiring unit 110 obtained role and schemed layer and scene graph layer,Scene graph layer has generally comprised the first scene graph layer, the second scene graph layer and the 3rd scene graph layer, eachScene graph layer generally comprises different scenery, device etc. according to actual conditions. In the time of design scenario figure layer,Fine arts personnel discharge each figure layer by editing machine, and first fine arts personnel can a prefabricated maximum scene layerNumber, for example 15 layers, 0 layer is basic layer, and 1-4 layer is distant view layer, and 5 and 6 layers is ground floor, and 7 layers areRole's layer, 8 layers is ground floor, and 9 layers is magic arts layers, and 10-14 layer is foreground layer. In order to facilitate the later stage pairFigure layer manages, and 7 layers are set to role and scheme layer, and 0-4 layer is set to the first scene graph layer, 5-6,8-9Layer is set to the second scene graph layer, and 10-14 layer is the 3rd scene graph layer. Wherein, in the 9th layer of magic arts layerSpecial efficacy performance while including role release technical ability, the state special efficacy performance of roleAnd the special efficacy performance of technical ability while being hit etc.
In the time that player enters game first, figure layer acquiring unit 110 can be obtained the first scene map, and logicalCrossing display unit 120 shows. Showing after the first scene graph layer, performance element 130 can judge predeterminedIn time, whether the average frame number of video is greater than the first predetermined threshold, for example, judges the average frame number of video in 30sWhether be greater than 30 frames. If the average frame number of video is greater than the first predetermined threshold, aobvious at display unit 120Show that role schemes on the basis of layer and the first scene graph layer, indicator diagram layer acquiring unit 110 obtained the second sceneFigure layer, and shown by display unit 120. If the average frame number of the video in the scheduled time is less thanOne predetermined threshold, display unit 120 still shows that role schemes layer and the first scene graph layer.
When display unit 120 shows that, after the second scene graph layer, performance element 130 judged in the scheduled time to be lookedWhether frequently average frame number is greater than the first predetermined threshold, for example, judges in 30s, whether the average frame number of video is greater than30 frames. If the average frame number of video is greater than the first predetermined threshold, show that at display unit 120 role schemesOn the basis of layer, the first scene graph layer and the second scene graph layer, indicator diagram layer acquiring unit 110 obtains theThree scene graph layers, and shown by display unit 120. If being less than first, is scheduled to the average frame number of videoThreshold value, display unit 120 only shows that role schemes layer and the first scene graph layer, acquiring unit hides Layers110 the second scene graph layers that get.
By showing the judgement of carrying out after the first scene graph layer and the second scene graph layer, be not difficult to find, onIt is identical stating the scene graph layer showing after twice negative evaluation, and no matter whether the average frame number of video accords withClose condition, the first scene graph layer all can show. Its reason is, if not the first scene graph layer itAfter the judgement carried out, in the time that player enters game, can directly obtain the first scene graph layer and the second scene graph layer,Can strengthen like this download, displaying time is elongated. And getting after the second scene graph layer, if foundThis second scene graph layer does not meet the condition showing, then hides the second scene graph layer, makes player's wave in vainThe download and the displaying time that have taken the second scene graph layer, reduced player's experience. On the contrary, showing theOne scene graph layer also judges after eligible and obtains the second scene graph layer again, avoided downloading the second scene graphLayer causes flow waste, has also reduced player's stand-by period simultaneously.
After figure layer acquiring unit 110 gets the 3rd scene graph layer and shows by display unit 120,Performance element 130 continues to judge in the scheduled time, whether the average frame number of video is greater than the first predetermined threshold, exampleAs, judge in 30s, whether the average frame number of video is greater than 30 frames. If it is first pre-that the average frame number of video is greater thanDetermine threshold value, display unit 120 shows that role schemes layer, the first scene graph layer, the second scene graph layer and the 3rdScene graph layer. If the average frame number of video is less than the first predetermined threshold, display unit 120 shows that role schemesLayer, the first scene graph layer and the second scene graph layer, hide the 3rd scene graph layer. Like this, by judgementVideo frame number, ensures that the operation of current device interface is smooth, shows not for user according to user's equipmentSame interface, makes interface more smooth, has also improved user's experience simultaneously.
In addition, experience in order to improve user, in the first scene graph layer, the second scene graph layer or the 3rd sceneAfter figure layer shows, performance element 130 can further judge in the scheduled time, whether the average frame number of video is less thanThe first predetermined threshold is greater than the second predetermined threshold, and for example, further whether the interior average frame number of video of interpretation 30sBe less than 30 frames and be greater than 20 frames. If the average frame number of video is less than the first predetermined threshold and large in the scheduled timeIn the second predetermined threshold, direction display unit 120 is schemed layer other of hiding the first predetermined quantity roleRole image, for example, hides 50 role images. If looked in the scheduled timeFrequently average frame number is less than the second predetermined threshold, and frame number as average in video is less than 20 frames, direction display unit120 scheme other role images of layer hiding the second predetermined quantity role, for example, hide 100Role image. It should be noted that the first predetermined quantity is less than the second predetermined quantity herein. ThisBe arranged so that user there will not be Caton phenomenon in the time playing games.
According to an embodiment, a player, in the time entering game, other player also can be presented at tripIn play interface. Enter after game player, detect that the average frame number of 30s video is 25 frames, video is averageFrame number is positioned at and is less than 30 frames and is greater than 20 frame intervals, hides 50 other role images,While demonstration on display unit so, other players that this player's periphery can show can reduce 50. IfIn 30s, the average frame number of video is 15 frames, and video average frame numerical digit, within being less than the interval of 20 frames, is just hidden100 role images, while demonstration on display unit, other players that this player's periphery showsCan reduce 100. Loop above-mentioned judgement, if the average frame number of video is still very low, just continue hiddenHide, until when 10 other role images of the minimum residue of interface, stop hiding. ShowUnit shows that 10 role images are to user. Like this, different players is obtained differentPicture, reaches best picture effect.
In order further to improve player's experience, performance element 130 can also be further according to scheming with roleThe associated role attribute table of layer determines whether the non-role image that role schemes layer shows. Wherein,Role attribute table comprise role and non-role clothes, stage property, grade, appointBusiness and progress, when designer designed in early stage, can be by role attribute table to roleCarry out personalized designs with non-role.
According to an embodiment, a player enters a map, player enter map itBefore, can capture the grade of role, for example, player's clothes, stage property, grade etc. Now,This player's periphery shows multiple non-roles (NPC), and one of them NPC is " Li Fan ",The grade that role detected reaches 30 grades, and " Li Fan " will be presented on map, and player justCan see " Li Fan ", otherwise just can't see " Li Fan ". Adopt in this way, avoided joining because of equipmentPut the lower interface Caton phenomenon causing, make game picture more smooth.
The stream of the scene of game figure layer display methods 200 according to an embodiment of the invention shown in Fig. 2Cheng Tu. As shown in Figure 2, the method is carried out in computing equipment, and described method starts from step S210.
In step S210, obtain and show that role schemes layer and the first scene graph layer.
According to a kind of embodiment, role schemes layer and comprises role image and non-roleImage. The first scene graph layer comprises basal layer and distant view layer.
After the first scene graph layer shows, in step S220, judge that in the scheduled time, the average frame number of video isNo first predetermined threshold that is greater than.
If be greater than the first predetermined threshold, showing that role schemes on the basis of layer and the first scene graph layer,In step S230, obtain and show the second scene graph layer, otherwise execution step S210. Wherein, secondScape figure layer comprises ground floor and magic arts layer.
Showing after the second scene graph layer, in step S240, judge that in the scheduled time, the average frame number of video isNo first predetermined threshold that is greater than. If be greater than the first predetermined threshold, show role scheme layer, firstOn the basis of scape figure layer and the second scene graph layer, in step S250, obtain and show the 3rd scene graph layer.Otherwise, execution step S230. Wherein, the 3rd field pattern layer comprises close shot layer.
Showing after the 3rd scene graph layer, in step S260, further judge that in the scheduled time, video is averageWhether frame number is greater than the first predetermined threshold. If be greater than the first predetermined threshold, perform step S250, no, execution step S230.
According to a kind of embodiment, after each scene graph layer shows, further judge in the scheduled time and lookWhether frequently average frame number is less than the first predetermined threshold and is greater than the second predetermined threshold. If looked in the scheduled timeFrequently average frame number is less than the first predetermined threshold and is greater than the second predetermined threshold, schemes layer role and hides firstOther role images of predetermined quantity. If the average frame number of video is less than second in the scheduled timePredetermined threshold, schemes other role images of layer hiding the second predetermined quantity role. Wherein,The first predetermined quantity is less than the second predetermined quantity.
According to a kind of embodiment, can also, according to scheming the associated role attribute table of layer with role, determine instituteWhether state non-role image is presented at role and schemes layer. Described role attribute table comprises that player controlsGrade, task and the progress of role and non-role.
According to technical scheme of the present invention, by the judgement to video frame number in game process, determine gameThe scene graph layer of interface display, makes interface more smooth, has also reduced because of under scene graph layer simultaneouslyThe stand-by period of carrying and bring, improve user's experience.
In the description that provided herein, a large amount of details are described. But, can understand, thisInventive embodiment can be put into practice in the situation that there is no these details. In some instances, andBe not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, should be appreciated that in order to simplify the disclosure and to help to understand in each inventive aspectOr multiple, in the above in the description of exemplary embodiment of the present invention, each feature of the present invention is sometimesBe grouped together into single embodiment, figure or in its description. But, should be by the disclosureMethod be construed to the following intention of reflection: the present invention for required protection requires than in each claimThe more features of the middle feature of clearly recording. Or rather, as below claims reflectedLike that, inventive aspect is to be less than all features of disclosed single embodiment above. Therefore, follow toolClaims of body embodiment are incorporated to this detailed description of the invention thus clearly, and wherein each right is wantedAsk itself all as independent embodiment of the present invention.
Those skilled in the art are to be understood that module or the list of the equipment in example disclosed hereinUnit or assembly can be arranged in as in the equipment described in this embodiment, or alternatively can locateIn the one or more equipment different from equipment in this example. Module in foregoing example can combineBe a module or can be divided in addition multiple submodules.
Those skilled in the art are appreciated that and can carry out certainly the module in the equipment in embodimentChange adaptively and they are arranged in one or more equipment different from this embodiment. CanModule in embodiment or unit or assembly are combined into a module or unit or assembly, and in addition canTo put them into multiple submodules or subelement or sub-component. Except such feature and/or process orAt least some in unit are, outside mutually repelling, can adopt any combination (to comprise companion to this descriptionWith claim, summary and accompanying drawing) in disclosed all features and so disclosed any method orAll processes or the unit of person's equipment combine. Unless clearly statement in addition, this description (comprises companionWith claim, summary and accompanying drawing) in disclosed each feature can be by providing identical, being equal to or phaseAlternative features like object replaces.
In addition, although those skilled in the art will appreciate that embodiment more described herein comprise itIncluded some feature instead of further feature in its embodiment, but the group of the feature of different embodimentClose and mean within scope of the present invention and form different embodiment. For example, power belowIn profit claim, the one of any of embodiment required for protection can make with combination arbitrarilyWith.
In addition, some in described embodiment this be described as can be by the processor of computer system orThe method that person is implemented by other device of carrying out described function or the combination of method element. Therefore, there is useProcessor in the necessary instruction of implementing described method or method element is formed for implementing the method or methodThe device of element. In addition, the element described herein of device embodiment is the example as lower device: this dressPut for implementing the function performed by the element of the object in order to implement this invention.
As used in this, unless make separate stipulations, use ordinal number " first ", " second ", " theThree " etc. describe the different instances that common object only represents to relate to similar object, and be not intended darkShow that the object being described like this must have on upper, space of time, sequence aspect or with other side arbitrarilyFormula give definite sequence.
Although described the present invention according to the embodiment of limited quantity, benefit from description above, thisTechnical staff in technical field understands, in the scope of the present invention of describing thus, it is contemplated that otherEmbodiment. In addition, it should be noted that the language using in this description is mainly for readable and instructionObject select, instead of select in order to explain or to limit theme of the present invention. Therefore,In the case of not departing from the scope and spirit of appended claims, for the common skill of the artThe many modifications and changes of art personnel are all apparent. For scope of the present invention, to the present inventionDisclosing of doing is illustrative, and nonrestrictive, scope of the present invention is limit by appended claimsFixed.