Specific embodiment
In order to which those skilled in the art is made to more fully understand the present invention program, below in conjunction in the embodiment of the present inventionThe technical solution in the embodiment of the present invention is clearly and completely described in attached drawing, it is clear that described embodiment is onlyThe embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill peopleMember's all other embodiments obtained without making creative work should all belong to the model that the present invention protectsIt encloses.
It should be noted that term " first " in description and claims of this specification and above-mentioned attached drawing, "Two " etc. be the object for distinguishing similar, and specific sequence or precedence are described without being used for.It should be appreciated that it uses in this wayData can be interchanged in the appropriate case, so as to the embodiment of the present invention described herein can in addition to illustrating herein orSequence other than those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that coverCover it is non-exclusive include, be not necessarily limited to for example, containing the process of series of steps or unit, method, system, product or equipmentThose steps or unit clearly listed, but may include not listing clearly or for these processes, method, productOr the intrinsic other steps of equipment or unit.
One side according to embodiments of the present invention, a kind of method for providing resource acquisition method of determining probability are implementedExample.
Optionally, in the present embodiment, above-mentioned resource acquisition method of determining probability can be applied to it is as shown in Figure 1 byIn the hardware environment that server 102 and terminal 104 are formed.As shown in Figure 1, server 102 is carried out by network and terminal 104Connection, above-mentioned network include but not limited to:Wide area network, Metropolitan Area Network (MAN) or LAN, terminal 104 are not limited to PC, mobile phone, tabletComputer etc..The resource acquisition method of determining probability of the embodiment of the present invention can be performed by server 102, can also be by terminal104 perform, and can also be and are performed jointly by server 102 and terminal 104.Wherein, terminal 104 performs the embodiment of the present inventionResource acquisition method of determining probability can also be performed by client mounted thereto.
For example, the resource acquisition method of determining probability of the embodiment of the present invention is trip with application when performing by terminal 104For play application:
Step S11, in player after the user terminals such as mobile terminal, computer start game application, by game server102 provide game services for user terminal.
Step S12, player carry out game operation in terminal (such as " shooting ").
Above-mentioned game operation includes but is not limited to:Shooting in basketball game is grabbed, block, is laid up, the behaviour such as dunk shotMake, the batting operation in golf game, the operations such as shoot, move in barrage game, in role playing gameStage property uses, role links up interaction, the purchase operations such as game resource, the stage property in more online tactics athletic games of people using, attackThe operations such as hit, defend.
Above-mentioned game operation can be moment complete or with certain time length process, such asFor shooting operation, for user when clicking " shooting " button, corresponding role can complete center of gravity pushing, take-off, adjustment shooting appearance(this sequence of operations can consume the regular hour, and interface can be presented in the form of picture for the sequence of operations such as gestureIn), user when discharging " shooting " button, from the hand of the role launch by basketball, so as to complete shooting operation.
Above-mentioned game operation is the operation for obtaining corresponding virtual resource (namely game resource), including but not officeIt is limited to:Score is obtained by shooting, game point is obtained by batting, game reward, stage property etc. are obtained by shooting,By the operation in role playing to obtain game item, game gold coin, into the virtual games resource such as long value, pass through online tacticsStage property in athletic game obtains score, stage property, game reward etc. using, attack, defence etc..
Step S13, user terminal carry out corresponding game logic processing (i.e. game processing) according to the game operation of user.
Specific game logic processing procedure is as follows:
According to the game operation of user, identification information is shown in the client of game application, is being got by step S131When the second of first account number instructs, instruction first role performs the object run of the first instruction instruction, and lookup and object timeTarget sub- period corresponding destination probability addition where when performance objective operates in section, identification information is for mark in targetDuring sub- period performance objective operation in the period, sub- period in target time section to by performance objective operate come forFirst role obtains in the virtual scene applied the probability addition of the virtual resource of (namely virtual scene of game), first roleFor in virtual scene performance objective operate and belong to the virtual role of the first account number;
Step S132 at least determines first role by performance objective operation to obtain in game based on destination probability additionGame resource (namely virtual resource in the virtual scene of game application) probability.
Step S14, according to the result that above-mentioned probability Resume Mission operates to client, including but not limited to:DisplayingShoot whether hit as a result, whether golf hit, the stage property in role playing game into hole by shooting objectIt obtains, growth, successfully etc. whether the stage property consumption in more online tactics athletic games of people, place are attacked, defend.
Above-mentioned steps S11 to step S14 is a full implementation flow for including technical scheme, the skill of the applicationArt scheme relates generally to step S13 wherein, and the technical solution of step S13 is described in detail with reference to specific embodiment.
Fig. 2 is a kind of flow chart of optional resource acquisition method of determining probability according to embodiments of the present invention, such as Fig. 2Shown, this method may comprise steps of:
Step S202 in response to the first instruction of the first account number in the application that gets, is shown in the client of applicationIdentification information, when identification information is for identifying the sub- period performance objective operation in target time section, in target time sectionThe sub- period to by performance objective operate come for first role obtain application virtual scene in virtual resource probabilityAddition, first role are that performance objective operates and belongs to the virtual role of the first account number in virtual scene.Target time sectionAt the time of initial time is no earlier than place when getting the first instruction, the time span of object time corresponds in the role of gameFirst role, can also be performed according to role " object run ".
Above-mentioned game include but is not limited to barrage game, venture game, simulation, role playing game,Leisure game, the online tactics athletic game of more people and other game.(the first account number as described above subsequently refers to for above-mentioned account numberThe second account number etc.) can be game account number in the game or there are other marks of correspondence with game account numberKnow the account number in information, such as cell-phone number, the pet name, other application (such as instant messaging application, social networking application) or game.
Above-mentioned identification information be for identifying " game operation " (namely object run) during, finally perform shouldWhether the opportunity of " game operation " is able to carry out successfully influencing on it namely whether probability addition, the role are able to carry out intoFor work(there are one the probability of success on basis, which is can be (or general to a certain degree on the basis of the probability of success on basisRate) increase or decrease the probability of success, under the influence of time dimension this feature, whether which is finally able to carry out successProbability be based on the probability of success one and the probability of success that increases or decreases between aggregate-value.
Above-mentioned target time section includes multiple sub- periods, and each sub- period is corresponded to there are one probability addition, if meshThe execution time of mark operation was fallen on some sub- period, then corresponding probability addition is that the probability of the sub- period addsInto.
Step S204, in the second instruction for getting the first account number, instruction first role performs the first instruction instructionObject run, and search in target time section during performance objective operation where target sub- period corresponding destination probability addInto.
Above-mentioned the first instruction and the second instruction is the instruction being used in conjunction with each other, and such as the first instruction can be that user " opensIt is dynamic " instruction of the instruction, the second instruction of game application to perform " game operation ";" if game operation " is a process, thenFirst instruction can be the instruction that instruction is ready to carry out " game operation ", such as player's click, touch-control " shooting " button, the second instructionIt can be the instruction that instruction performs " game operation ", such as discharge " shooting " button.
Namely in real operational processes, player can realize the transmission of the first instruction and the second instruction by operating, and lead toThe cooperation (combination for being primarily referred to as time dimension) of the two instructions is crossed, the mode of operation in game can be enriched, improves playerInterest and operating experience.In basketball type games, user can be corresponding to select by adjusting the transmission opportunity of the second instructionHigher probability addition, and then improve " shooting feel ".
Step S206 at least determines first role by performance objective operation to obtain application based on destination probability additionThe probability of virtual resource in virtual scene.
Optionally, can application be obtained by performance objective operation based on the determine the probability first role of multiple characteristic dimensionsVirtual scene in virtual resource probability, the information of multiple characteristic dimensions includes the time determined according to destination probability additionThe probability of dimension.
It should be noted that the probability obtained herein value simulation truth under obtain, embody role itself,Environment, teammate, enemy (or other side) are to the true impact situation of the player, and such as in basketball type games, game role is simulationReality movement in basket baller, reality movement in basket baller hit rate be not it is unalterable, often byTo oneself, the influence of environment, teammate, enemy, as its shooting suffers from oneself physical condition, commencing height, surface frame angle, isIt is no have teammate shielding, whether have opposing players interference when influence.And above-mentioned probability is based on a series of this shadowRing what at least one of factor was obtained.
By above-mentioned steps S202 to step S206, when getting the first instruction of the first account number in application, in applicationIdentification information is shown in client, when identification information is for identifying the sub- period performance objective operation in target time section,Void in the virtual scene that the sub- period in target time section obtains application for first role to being operated by performance objectiveIntend the probability addition of resource, in the second instruction for getting the first account number, instruction first role performs the first instruction instructionObject run, and search in target time section during performance objective operation where target sub- period corresponding destination probability addInto;It obtains so as at least determining first role by performance objective operation based on destination probability addition virtual in virtual sceneThe probability of resource, in game process, player can select corresponding probability by the transmission opportunity of operation " the second instruction "Addition can solve the technical issues of mode of operation played in the relevant technologies is single, and then reach and operated in abundant gameThe technique effect of mode.
Below by taking " basketball game " as an example, embodiments herein is described in detail.
When the above method is applied to " basketball game ", is equivalent to and is segmented this application provides one kind by color (or figureCase is segmented), the realization method of the time slot on hit rate addition (or weaken) digital prompt button opportunity.Sportsman shoots in gamingHit rate can be influenced by exit (i.e. the length of key press time), shooting of selling is too early or can all reduce goal too lateProbability, thus need to build a kind of mode that can convey shooting exit.
Different additionally, due to rebounder's act of shooting, the act of shooting time span for leading to different sportsmen is also notWith, therefore there is a need for being able to dynamically adjust the configuration of shooting exit, according to the different shooting slots of soccer star's act of shootingDistribution of color can also dynamically adjust.
To shoot, there are many colors (or pattern) for slot, and differentiation button opportunity is poor, button opportunity is medium and button opportunity is excellentShows etc. (sincerely as example, it is more careful to divide herein), can provide hit after the button opportunity that system reads playerThe digital prompt of rate addition (or decrease).
It is described in detail with reference to the step S202 to step S206 of the application.
Can be that each role (corresponds to specific as follows before the technical solution that step S202 is provided is performedBasket baller) be configured its vernier (i.e. time identifier) movement speed, shooting slot (i.e. target area) multiple color (orPattern) distribution.
(1) vernier of configuration shooting slot
In some direction, (i.e. first direction, the direction can be the sides on straight line to above-mentioned shooting slot (i.e. target area)To or circular arc direction) on length be it is fixed, due to each role carry out game operation duration may be notWith namely the time length that is characterized of each unit length on shooting slot be different, therefore, during for representing currentBetween the movement speed of vernier of position on shooting slot be different, can specifically be configured as follows:
Optionally, before getting the first instruction of the first account number in application, when being retrieved as the target of first role configurationBetween section time span;The target time section being configured according to target area length in a first direction and for first role whenBetween length when determining to show time identifier in the client of application, the movement speed of time identifier in a first direction.
The time span (time consumed needed for sportsman's shooting) of above-mentioned target time section can be to the true of the sportsmanWhat real shooting situation was counted, it is approached with experience in guarantee game with truth or identical.
(2) color of configuration shooting slot or pattern distribution
Optionally, in application is got before the first instruction of the first account number, the configuration information of first role is obtained, andTarget area is divided into according to every sub-regions length in a second direction of the target area indicated by configuration information moreSub-regions.Second direction is related to the shape of target area, if target shape is camber line, then where second direction along camber lineDirection;If target shape is rectangle, then length or wide direction of the second direction along rectangle.
Above-mentioned configuration information is that the true shooting situation of the sportsman is counted, and is carrying out shooting operationIn the process, each sub- period in this period is sold and (corresponds to release shooting button and the second instruction), rightThe influence (hit rate addition) namely destination probability addition of its mean hit rate.As shown in figure 3, different subregions is corresponding withDifferent hit rate addition, such as " -30% " of subregion 1, " 20% " of subregion 3.
In the technical solution provided in step S202, in response to the first instruction of the first account number in the application that gets,Identification information is shown in the client of application.
(1) about the type of identification information
First, it is identified by color or pattern.
Optionally, multiple subregions can be included by representing the target area of shooting slot, and shooting life is corresponding with per sub-regionsMiddle rate addition namely show that identification information includes in the client of application:It is shown in the target area of the client of applicationMultiple first flag information, target area include corresponding to multiple subregions of multiple sub- periods in target time section, oftenSub-regions are for one first flag information of display.Subregion as shown in Figure 3 represents color with different filling patternsOr pattern.
Optionally, when initial, per sub-regions although there are color or the difference of pattern, but the brightness of all subregionsOr tone is identical, when current time (i.e. vernier) is in certain sub-regions, adjusts brightness or the tone of the subregion, make its withRemaining subregion is different, preferably enhances brightness or the tone of the subregion.
Above-mentioned first flag information represents probability addition by pattern and/or color, wherein, in the client of applicationTarget area in the multiple first flag information of display include:One first mark is shown in every sub-regions in target areaKnow information, wherein, shown in any two subregion for represent in the pattern and color of first flag information at least itOne is different.
It should be noted that above-mentioned, " time span of object time corresponds to first jiao in the role of virtual sceneColor " also even represents that the shooting custom of role is different, then the distribution of the subregion of corresponding each role then may be different,Even if the distribution of subregion is identical, then it is also different per the corresponding destination probability addition of sub-regions, by according to each basketballThe true shooting situation of sportsman shooting slot is configured for it, can increase the game experiencing degree of player, player is avoided to feelThe shooting of all " soccer stars " is all similar, so as to lose interest.
Second, it is identified by text prompting.
Optionally, sometimes represent that field goalds addition is also not enough to cause player's only by color or patternPay attention to (such as color or pattern overlap with background in game), the throwing of current time can also be directly embodied by wordBasket hit rate addition, shows that identification information further includes in the client of application:Multiple second are shown in the client of applicationIdentification information, wherein, each second identifier information corresponds to the sub-regions in target area, and second identifier information passes through textThis information represents probability addition." 20% " of " -30% ", subregion 3 in subregion 1 as shown in Figure 3 etc..
Optionally, when initial, per the brightness of the corresponding second identifier information (i.e. text prompt) of sub-regions or tone phaseTogether, when current time (i.e. vernier) is in certain sub-regions, adjust the corresponding second identifier information of the subregion brightness orTone makes its second identifier information corresponding from remaining subregion different, preferably enhances the corresponding second identifier of the subregionThe brightness of information or tone.
Third, it is identified by vernier.
While showing multiple first flag information in the target area of the client of application or later, in the visitor of applicationTime identifier (namely vernier, as the black in Fig. 4 is round) is shown in the end of family, wherein, time identifier is at least used in targetBetween subregion where current time is identified in section.
Above-mentioned vernier is identified for the ease of user for identifying current time in slot of shooting, vernier it is brightDegree and/or tone are different from identification information, and preferably brightness is higher than the brightness of identification information.
(2) about the display of identification information
Optionally, show that identification information includes at least one of in the client of application:
Identification information is shown in the first client of game, wherein, the first client is to be logged in the visitor of the first account numberFamily end;
Identification information is shown in the second client of game, wherein, the second client is to be logged in the visitor of the second account numberFamily end, belongs to the second role of the second account number in game and first role belongs to same side (namely the game of game virtual sceneSame side, such as World War I team);
Identification information is shown in the third client of game, wherein, third client is to be logged in the visitor of third account numberFamily end, belongs to the third role of third account number in game and first role belongs to the not Tongfang of game virtual scene and (belongs to tripDifferent troops in play).
Need what is illustrated, above-mentioned identification information can include first flag information, in second identifier information at least itOne, it may also include time identifier.The identification information is shown in the second client of teammate, it, can be with when role oneself shootsThe shooting to shelter oneself convenient for teammate role;The identification information is shown in the third client of other side (enemy), can be causedOther side role takes more targetedly game operation, such as grab, block.
By above-mentioned display operation, the experience of game can be further enhanced, and increase the game operation in gameComplexity makes it more close with true basketball movement.
In the technical solution provided in step S204, in the second instruction for getting the first account number, first role is indicatedThe object run of the first instruction instruction is performed, and searches the target sub- time where when being operated with performance objective in target time sectionThe corresponding destination probability addition of section.
For shooting slot (namely target area), each of which subregion (corresponding to a sub- period per sub-regions) instituteThe information (as described above color, pattern etc.) of carrying, therefore, can be with more second including probability addition (field goalds addition)The acquisition opportunity (opportunity that shooting is sold) of instruction determines corresponding destination probability addition.
In the technical solution provided in step S206, at least determine first role by performing mesh based on destination probability additionThe probability of virtual resource in virtual scene of the mark operation to obtain application.
Optionally, above-mentioned step S206 " at least determines that first role passes through performance objective based on destination probability additionOperate the probability of the virtual resource in the virtual scene to obtain application " it can be realized by following sub-step:
Step S2062 searches status information of the first role in multiple characteristic dimensions, wherein, in multiple characteristic dimensionsStatus information include time dimension on destination probability addition.
Above-mentioned multiple characteristic dimensions include but is not limited to:Role motion state (such as original place stand, run in, the back of the bodyBody singles etc.), towards the situation (such as positive in face of basketry, laterally to basketry, back to basketry) of basketry, the state of time dimension(such as at which sub- period sell) is disturbed situation (such as the interference of the slight interference of team's hand, severe, noiseless).
Step S2064 obtains each characteristic dimension corresponding with status information of the first role in each characteristic dimensionProbability.Can specifically it include following one or several:
Destination probability addition and the sum of one probability for time dimension of time dimension are obtained, as shown in figure 3, subregion pairThe probability answered is (1-30%), and 3 corresponding probability of subregion is (1+20%);
The probability of fisrt feature dimension corresponding with the status information in fisrt feature dimension is obtained, wherein, it is differentStatus information in fisrt feature dimension is provided with corresponding probability in advance, and the status information in fisrt feature dimension is for describingThe different motion states of first role;
The probability of second feature dimension corresponding with the status information in second feature dimension is obtained, wherein, it is differentStatus information in second feature dimension is provided with corresponding probability in advance, and the status information in second feature dimension is for describingThe direction of first role;
The probability of third feature dimension corresponding with the status information in third feature dimension is obtained, wherein, it is differentStatus information in third feature dimension is provided with corresponding probability in advance, and the status information in third feature dimension is for describingThe interference that role or environment in game operate first role performance objective;
The probability of fourth feature dimension corresponding with the status information in fourth feature dimension is obtained, wherein, it is differentStatus information in fourth feature dimension is provided with corresponding probability in advance, and the status information in fourth feature dimension is for describingThe interference that the position of first role in game operates performance objective, underlying probabilities herein include basic hit rate and attributeThe product of two factors of coefficient, specifically the two.
Step S2066 obtains the virtual field of application using the product between the probability of multiple characteristic dimensions as first roleThe probability of virtual resource in scape.
In embodiments herein, shoot button when trough (shooting slot) in laterally putting, and placement area can be fixed,Shared region is apparent (position that can be located at plane central axes), and there are one verniers (can be represented with basketball) in slot of shooting to represent to work asPreceding time situation prompts player's secondary operation to make in which section that vernier has eventually fallen in shooting slot.And it is every in the gameA role is configured with corresponding shooting slot, convenient for improving user experience.
Relative to the technical solution in the relevant technologies, the technical solution of the application at least has following advantage:
1) in real operational processes, player can realize the transmission of the first instruction and the second instruction by operating, and pass throughThe cooperation (combination for being primarily referred to as time dimension) of the two instructions can enrich the mode of operation in game, improve player'sInterest and operating experience;
2) identification information is shown to simultaneously in the client of teammate or other side, the game behaviour to shelter oneself convenient for teammateMake or the game operation of oneself is interfered convenient for other side, so as to enrich the experience of game operation, further enhance the body of gameIt tests, and increases the complexity of the game operation in game, make it more close with true basketball movement;
3) UI design significance be improved, will not allow shooting when trough and situation elements it is mixed in together, will not go outThe shorter situation of each bout length, judges that time identifier is fallen in which color interval or figure convenient for user after existing color segmentsIn case section;
4) word being easy to understand or digital prompt are provided, user is avoided to be fallen to vernier after some color interval and is generatedEffect situation about not recognizing explicitly more;
5) color segments of trough are configured using actual player as reference during shooting button, are realized and are dynamically adapted colorThe function of siding-to-siding block length makes it more close with true basketball movement.
As a kind of optional embodiment, presently filed embodiment is described in further detail by taking basketball game as an example below.
Such as Fig. 5, the specific composition of trough when describing shooting button:
Entire shooting slot is rendered as arc, (sub-district of first flag information is presented by the button progress bar of color segmentsDomain);The vernier of basketball appearance occurs from the shooting leftmost side, as the loss of time is turned right movement;Hit rate prompts tips(second identifier information such as " hit rate -10% ", represents that hit rate reduces by 10%), in digital form when subregion is soldDefinite addition (or decrease) is shown to player.
Three kinds of color segment length of red, yellow, and green (corresponding to subregion 1 to 4 in Fig. 5, such as head and the tail are red) differ, the applicationMiddle support three kinds of color segment length of dynamic configuration, it is possible thereby to reach for different soccer stars, only different from other roles of generationThere is shooting button opportunity prompting slot (shooting slot).
Optionally, shooting button opportunity prompting slot can be presented otherwise, such as the shapes such as annular, rectangle.
With reference to Fig. 6 be described in detail client realize generation shooting when trough flow, specifically using soccer star A and soccer star B asExample illustrates the generating process of trough during shooting button, and user terminal performs following steps, and is shown and corresponded to according to implementing resultShooting slot:
Step S601, soccer star's (first role in playing) that system identification is currently being shot.
System can directly read the corresponding ID of soccer star, identify which soccer star that currently shoot is.
Step S602, system read the duration of the act of shooting of shooting soccer star.
Such as read act of shooting the time span T1 and T2 of soccer star A and soccer star B.
Step S603 calculates the movement speed of vernier.
Calculate the movement speed V1=shooting button opportunity slot length L/T1 of the vernier of soccer star A, the movement of the vernier of soccer star BSpeed V2=shooting button opportunity slot lengths L/T2.
Step S604, the color distribution ratio of the shooting slot of retrieval shooting soccer star.
Trough during whole section of button can be regarded as four sections from left to right:Left red color segment, yellow section, green segment, right redSection, as shown in Figure 4.Before step S604 progress, trough distribution of color table when can first make soccer star's shooting button, such asShown in table 1.
In step s 605, it is retrieved, is found in trough distribution of color table when soccer star shoots button according to soccer star IDConfiguration as shown in table 1 below.
Table 1
| Soccer star ID | Zuo Hong | It is yellow | It is green | It is right red |
| Soccer star A ID | 20% | 25% | 35% | 20% |
| Soccer star B ID | 10% | 40% | 30% | 10% |
Step S606 calculates the physical length of different colours paragraph (subregion).
In table 1, the content described in the table is the feel slot length segmentation scales of each sportsman, if sportsman X (XRepresent the mark ID of sportsman) shooting slot length for Lx, if for soccer star A, left side red paragraph length ratio is 20%, left sideYellow bout length ratio is 25%, and green bout length is 35%, and right side red paragraph length ratio is 20%, then four sections of realitiesBorder length is 20%*Lx, 25%*Lx, 35%*Lx, 20%*Lx.
Step S607, generation shooting slot.
Percentage in allocation list calculates the length of each color paragraph.It paragraphs (subregion) length=opportunitySlot total length * is segmented percentage.
The flow of game role entire " shooting " operation is described in detail with reference to Fig. 7:
Step S701 waits for user to press " shooting " button.
Step S702, when user presses " shooting " button, trough when breathing out shooting button.
Step S703, shoot button when trough in can include one mark progress vernier (such as street hoop shooting slot onThin rectangle), while user pins " shooting " button, the vernier when trough on walk about (mark current schedules).
Step S704, judges whether user unclamps " shooting " button, if so then execute step S705, otherwise continues to execute stepRapid S704.
Step S705 when user's observation vernier is rested in appropriate color region, unclamps " shooting " button, at this time vernierIt is slack.
The present situation read is converted to backstage numerical value by step S706, system, so far completes primary shooting process.
The hit rate of the primary common shooting behavior of sportsman is made of Multiple factors, a kind of optional final hit rate=motion state coefficient (probability of the corresponding fisrt feature dimension of status information i.e. in fisrt feature dimension) * is facing towards coefficient(probability of the corresponding second feature dimension of status information i.e. in second feature dimension) * buttons coefficient (i.e. destination probability addition+1) * interference coefficients (probability of the corresponding third feature dimension of status information i.e. in third feature dimension) * bases hit rate * belongs toProperty coefficient (i.e. underlying probabilities).
Above-mentioned basic hit rate and the product of attribute coefficients are equivalent to underlying probabilities.
Illustrate the effect of each coefficient one by one below.
(1) sportsman's motion state is as shown in table 2, is divided into original place standing, and run neutralization back of the body body singles, and three kinds of states correspond to threeA coefficient.The coefficient of wherein back of the body body singles is to calculate gained (non-definite value constant), concrete numerical value=and 0.5+ (offense's strength+it attacksSide is by playing-defence's strength-defence defence+200) * 0.5/200.
Table 2
| Sportsman's motion state | Coefficient |
| It stands in original place | 1 |
| In running | 0.9 |
| Carry on the back body singles | It is calculated |
(2) it is as shown in table 3 facing towards coefficient, it is divided into role's forward direction to basketry, role is laterally to basketry and role backwards to rightBasketry, three kinds of states correspond to three coefficients.
Table 3
| Facing towards | Coefficient |
| Role's forward direction is to basketry | 1 |
| Role is laterally to basketry | 0.9 |
| Role is backwards to basketry | 0.8 |
(3) button opportunity coefficient is as shown in table 4, that is, the coefficient according to the schemes generation illustrated in the application, canIt is divided into red coefficient, yellowness coefficient and green three kinds of coefficient.
Table 4
| Button opportunity | Coefficient |
| Red coefficient | 0.8 |
| Yellowness coefficient | 0.95 |
| Green coefficient | 1.1 |
Above-mentioned red coefficient is equivalent to reduction by 20%, i.e. probability addition is -20%, and above-mentioned green coefficient is equivalent to increasingAdd 10%, i.e. probability addition is 10%.
(4) interference coefficient is as shown in table 5, and interference coefficient refers to influence of the defender to the people that shoots, and defender can pass throughShooting is interfered in operation, and interference type can be divided into noiseless, slight interference, 4 kinds of general interference and severe jamming.
Table 5
| Disturbance type | Coefficient |
| It is noiseless | 1 |
| Slight interference | 0.9 |
| General interference | 0.8 |
| Severe jamming | 0.6 |
Optionally, above-mentioned interference can also include the interference of teammate, and numerical value is more than or equal to 1, such as good shielding,Numerical value is 1.1.
(5) basic hit rate, basic hit rate is only related with the position of sportsman's shooting, more remote from basketry on the whole, basePlinth hit rate is lower.Shooting is first divided into three bulk regions, is three-point shot respectively, perimeter shot and interior lines are shot, specificallyAlgorithm is as follows:
Shooting greatest coefficient other than 3-point line is 0.45, and sportsman is minimum often apart from remote 1 meter of basketry then coefficient -0.20;
Perimeter shot greatest coefficient is 0.8, and sportsman is often apart from remote 1 meter of basketry then coefficient -0.05, minimum 0;
Interior lines shooting greatest coefficient is 1, does not increase with distance and decays.
(6) attribute coefficients, the ability that attribute coefficients describe shooting sportsman itself is strong and weak, and true sportsman's strong correlation,Strength sportsman in basket baller can be advantageous on the coefficient, for example, three points of accurate sportsmen three to adhere to property coefficient separately be 1.5,It is 0.5 that the three of three points of inaccurate sportsmen, which adhere to property coefficient separately,.
All multiplications being calculated above can be obtained to the final hit rate of the secondary shooting.
Using the above-mentioned technical proposal of the application, following advantageous effect is produced:UI designs are relatively sharp understandable, can seeIt is exactly sight focus of the user when being shot to trough present position during button;And relative to existing program, this programmeThe vision significance degree of middle opportunity slot length and vernier greatly promotes, and user can preferably hold details;It adds and is easy to understandWord and digital prompt, user, which falls vernier the effect generated after some color interval, specific cognition;Realize throwingTrough dynamic adjustment mechanism during basket button, different sportsmen correspond to different when troughs, thus provide a kind of different press to playerKey feel is greatly enriched the operation sense of game.
It should be noted that for aforementioned each method embodiment, in order to be briefly described, therefore it is all expressed as a series ofCombination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement becauseAccording to the present invention, certain steps may be used other sequences or be carried out at the same time.Secondly, those skilled in the art should also knowIt knows, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the inventionIt is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementationThe method of example can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but it is very muchIn the case of the former be more preferably embodiment.Based on such understanding, technical scheme of the present invention is substantially in other words to existingThe part that technology contributes can be embodied in the form of software product, which is stored in a storageIn medium (such as ROM/RAM, magnetic disc, CD), used including some instructions so that a station terminal equipment (can be mobile phone, calculateMachine, server or network equipment etc.) perform method described in each embodiment of the present invention.
Other side according to embodiments of the present invention additionally provides one kind for implementing above-mentioned resource acquisition probability reallyDetermine the determining device of the resource acquisition probability of method.Fig. 8 is a kind of optional resource acquisition probability according to embodiments of the present inventionDetermining device schematic diagram, as shown in figure 8, the device can include:Display unit 81, operating unit 83 and determination unit85。
Display unit 81, for the first instruction in response to the first account number in the application got, in the client of applicationUpper display identification information, wherein, when identification information is for identifying the sub- period performance objective operation in target time section, meshIt is virtual in the virtual scene that the sub- period in the mark period obtains application for first role to being operated by performance objectiveThe probability addition of resource, first role are that performance objective operates and belongs to the virtual role of the first account number in virtual scene.
Above-mentioned the first instruction and the second instruction is the instruction being used in conjunction with each other, and such as the first instruction can be that user " opensIt is dynamic " instruction of the instruction, the second instruction of game application to perform " game operation ";" if game operation " is a process, thenFirst instruction can be the instruction that instruction is ready to carry out " game operation ", such as player's click, touch-control " shooting " button, the second instructionIt can be the instruction that instruction performs " game operation ", such as discharge " shooting " button.
Namely in real operational processes, player can realize the transmission of the first instruction and the second instruction by operating, and lead toThe cooperation (combination for being primarily referred to as time dimension) of the two instructions is crossed, the mode of operation in game can be enriched, improves playerInterest and operating experience.In basketball type games, user can be corresponding to select by adjusting the transmission opportunity of the second instructionHigher probability addition, and then improve " shooting feel ".
Operating unit 83, in the second instruction for getting the first account number, instruction first role to perform the first instructionThe object run of instruction, and search in target time section during performance objective operation where target sub- period corresponding targetProbability addition.
Above-mentioned the first instruction and the second instruction is the instruction being used in conjunction with each other, and such as the first instruction can be that user " opensIt is dynamic " instruction of the instruction, the second instruction of game application to perform " game operation ";" if game operation " is a process, thenFirst instruction can be the instruction that instruction is ready to carry out " game operation ", such as player's click, touch-control " shooting " button, the second instructionIt can be the instruction that instruction performs " game operation ", such as discharge " shooting " button.
Namely in real operational processes, player can realize the transmission of the first instruction and the second instruction by operating, and lead toThe cooperation (combination for being primarily referred to as time dimension) of the two instructions is crossed, the mode of operation in game can be enriched, improves playerInterest and operating experience.In basketball type games, user can be corresponding to select by adjusting the transmission opportunity of the second instructionHigher probability addition, and then improve " shooting feel ".
Determination unit 85 obtains at least determining first role by performance objective operation based on destination probability additionThe probability of virtual resource in the virtual scene of application.
Optionally, can application be obtained by performance objective operation based on the determine the probability first role of multiple characteristic dimensionsVirtual scene in virtual resource probability, the information of multiple characteristic dimensions includes the time determined according to destination probability additionThe probability of dimension.
It should be noted that the probability obtained herein value simulation truth under obtain, embody role itself,Environment, teammate, enemy (or other side) are to the true impact situation of the player, and such as in basketball type games, game role is simulationReality movement in basket baller, reality movement in basket baller hit rate be not it is unalterable, often byTo oneself, the influence of environment, teammate, enemy, as its shooting suffers from oneself physical condition, commencing height, surface frame angle, isIt is no have teammate shielding, whether have opposing players interference when influence.And above-mentioned probability is based on a series of this shadowRing what at least one of factor was obtained.
It should be noted that the display unit 81 in the embodiment can be used for performing the step in the embodiment of the present applicationS202, the operating unit 83 in the embodiment can be used for performing the step S204 in the embodiment of the present application, in the embodimentDetermination unit 85 can be used for performing the step S206 in the embodiment of the present application.
Herein it should be noted that above-mentioned module is identical with example and application scenarios that corresponding step is realized, but notIt is limited to above-described embodiment disclosure of that.It should be noted that above-mentioned module as a part for device may operate in asIt in hardware environment shown in FIG. 1, can be realized by software, hardware realization can also be passed through.
By above-mentioned module, when getting the first instruction of the first account number in application, mark is shown in the client of applicationInformation is known, when identification information is for identifying the sub- period performance objective operation in target time section, in target time sectionThe probability of virtual resource in the virtual scene that the sub- period obtains application for first role to being operated by performance objective addsInto in the second instruction for getting the first account number, instruction first role performs the object run of the first instruction instruction, and searchesTarget sub- period corresponding destination probability addition where when being operated with performance objective in target time section;So as at least be based onDestination probability addition determines first role by performance objective operation to obtain the general of the virtual resource in the virtual scene of applicationRate, in game process, player can select corresponding probability addition by the transmission opportunity of operation " second instruction ", can be withIt solves the technical issues of mode of operation played in the relevant technologies is single, and then reaches the technology of mode of operation in abundant gameEffect.
The above device of the application applies also for as shown in Figure 9 other than it can be applied to user terminal as shown in Figure 8Server.
Above-mentioned display unit shows that identification information includes at least one of in the client of application:
Identification information is shown in the first client of game, wherein, the first client is to be logged in the visitor of the first account numberFamily end;
Identification information is shown in the second client of game, wherein, the second client is to be logged in the visitor of the second account numberFamily end, belongs to the second role of the second account number in game and first role belongs to the same side of game;
Identification information is shown in the third client of game, wherein, third client is to be logged in the visitor of third account numberFamily end, belongs to the third role of third account number in game and first role belongs to the not Tongfang of game.
Optionally, above-mentioned display unit is additionally operable to show multiple first flags in the target area of the client of applicationInformation, wherein, target area includes corresponding to multiple subregions of multiple sub- periods in target time section, per sub-regionsFor showing a first flag information.
First flag information represents probability addition by pattern and/or color, wherein, above-mentioned display unit is being appliedClient target area in when showing multiple first flag information, display one in every sub-regions in target areaFirst flag information.
Above-mentioned display unit is additionally operable to show multiple second identifier information in the client of application, wherein, each secondIdentification information correspondence represents probability addition in the sub-regions in target area, second identifier information by text message.
Above-mentioned display unit is additionally operable to show the same of multiple first flag information in the target area of the client of applicationWhen or later, show time identifier in the client of application, wherein, time identifier in target time section at least for identifyingGo out the subregion where current time.
It should be noted that it can be retrieved as first jiao in advance before the first instruction of the first account number in application is gotThe time span of the target time section of color configuration;It is configured according to target area length in a first direction and for first roleWhen the time span of target time section determines to show time identifier in the client of application, time identifier is in a first directionMovement speed.
Optionally it is determined that unit may include:Searching module, for searching state of the first role in multiple characteristic dimensionsInformation, wherein, the status information in multiple characteristic dimensions includes the destination probability addition on time dimension;Acquisition module is used forObtain the probability of each characteristic dimension corresponding with status information of the first role in each characteristic dimension;Determining module is usedIn using the product between the probability of multiple characteristic dimensions as the virtual resource in the virtual scene of first role acquisition applicationProbability.
Acquisition module is additionally operable to:Obtain destination probability addition and the sum of one probability for time dimension of time dimension;It obtainsThe probability of fisrt feature dimension corresponding with the status information in fisrt feature dimension is taken, wherein, it is tieed up for different fisrt featureStatus information on degree is provided with corresponding probability in advance, and the status information in fisrt feature dimension is for describing first roleDifferent motion states;The probability of second feature dimension corresponding with the status information in second feature dimension is obtained, wherein, it isStatus information in different second feature dimensions is provided with corresponding probability in advance, and the status information in second feature dimension is usedIn the direction of description first role;The probability of third feature dimension corresponding with the status information in third feature dimension is obtained,Wherein, corresponding probability is provided in advance for the status information in different third feature dimensions, the shape in third feature dimensionThe interference that state information operates first role performance objective for the role in description game or environment;It obtains and is tieed up with fourth featureThe probability of the corresponding fourth feature dimension of status information on degree, wherein, it is the status information in different fourth feature dimensionsBe provided with corresponding probability in advance, the status information in fourth feature dimension is for describing the position pair of the first role in gameThe interference of performance objective operation.
The device of the application further includes acquiring unit, before the first instruction of the first account number in application is got,Obtain first role configuration information, and according to the target area indicated by configuration information every sub-regions in a second directionLength target area is divided into multiple subregions.
Relative to the technical solution in the relevant technologies, the technical solution of the application at least has following advantage:
1) in real operational processes, player can realize the transmission of the first instruction and the second instruction by operating, and pass throughThe cooperation (combination for being primarily referred to as time dimension) of the two instructions can enrich the mode of operation in game, improve player'sInterest and operating experience;
2) identification information is shown to simultaneously in the client of teammate or other side, the game behaviour to shelter oneself convenient for teammateMake or the game operation of oneself is interfered convenient for other side, so as to enrich the experience of game operation, further enhance the body of gameIt tests, and increases the complexity of the game operation in game, make it more close with true basketball movement;
3) UI design significance be improved, will not allow shooting when trough and situation elements it is mixed in together, will not go outThe shorter situation of each bout length, judges that time identifier is fallen in which color interval or figure convenient for user after existing color segmentsIn case section;
4) word being easy to understand or digital prompt are provided, user is avoided to be fallen to vernier after some color interval and is generatedEffect situation about not recognizing explicitly more;
5) color segments of trough are configured using actual player as reference during shooting button, are realized and are dynamically adapted colorThe function of siding-to-siding block length makes it more close with true basketball movement.
Herein it should be noted that above-mentioned module is identical with example and application scenarios that corresponding step is realized, but notIt is limited to above-described embodiment disclosure of that.It should be noted that above-mentioned module as a part for device may operate in asIn hardware environment shown in FIG. 1, can be realized by software, can also by hardware realization, wherein, hardware environment include networkEnvironment.
Other side according to embodiments of the present invention additionally provides one kind for implementing above-mentioned resource acquisition probability reallyDetermine the server or terminal of method.
Figure 10 is a kind of structure diagram of terminal according to embodiments of the present invention, and as shown in Figure 10, which can include:One or more (one is only shown in Figure 10) processors 1001, memory 1003 and (such as above-mentioned implementation of transmitting device 1005Sending device in example), as shown in Figure 10, which can also include input-output equipment 1007.
Wherein, memory 1003 can be used for storage software program and module, such as the resource acquisition in the embodiment of the present inventionMethod of determining probability and the corresponding program instruction/module of device, processor 1001 are stored in by operation in memory 1003Software program and module, so as to perform various functions application and data processing, that is, realize above-mentioned resource acquisition probabilityDetermining method.Memory 1003 may include high speed random access memory, can also include nonvolatile memory, such as one orMultiple magnetic storage devices, flash memory or other non-volatile solid state memories.In some instances, memory 1003 can be intoOne step is included relative to the remotely located memory of processor 1001, these remote memories can pass through network connection to endEnd.The example of above-mentioned network includes but not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Above-mentioned transmitting device 1005 is used to receive via network or transmission data, can be also used for processor withData transmission between memory.Above-mentioned network specific example may include cable network and wireless network.In an example,Transmitting device 1005 includes a network adapter (Network Interface Controller, NIC), can pass through cableIt is connected to be communicated with internet or LAN with other network equipments with router.In an example, transmission dress1005 are put as radio frequency (Radio Frequency, RF) module, is used to wirelessly be communicated with internet.
Wherein, specifically, memory 1003 is used to store application program.
Processor 1001 can call the application program that memory 1003 stores by transmitting device 1005, following to performStep:
In response to the first instruction of the first account number in the application that gets, identification information is shown in the client of application,Wherein, when identification information is for identifying the sub- period performance objective operation in target time section, the son in target time sectionThe probability addition of virtual resource in the virtual scene that period obtains application for first role to being operated by performance objective,First role is that performance objective operates and belongs to the virtual role of the first account number in virtual scene;
In the second instruction for getting the first account number, instruction first role performs the object run of the first instruction instruction,And search in target time section during performance objective operation where the corresponding destination probability addition of target sub- period;
First role at least determined by performance objective operation based on destination probability addition obtain the virtual scene of applicationIn virtual resource probability.
Processor 1001 is additionally operable to perform following step:
Obtain destination probability addition and the sum of one probability for time dimension of time dimension;
The probability of fisrt feature dimension corresponding with the status information in fisrt feature dimension is obtained, wherein, it is differentStatus information in fisrt feature dimension is provided with corresponding probability in advance, and the status information in fisrt feature dimension is for describingThe different motion states of first role;
The probability of second feature dimension corresponding with the status information in second feature dimension is obtained, wherein, it is differentStatus information in second feature dimension is provided with corresponding probability in advance, and the status information in second feature dimension is for describingThe direction of first role;
The probability of third feature dimension corresponding with the status information in third feature dimension is obtained, wherein, it is differentStatus information in third feature dimension is provided with corresponding probability in advance, and the status information in third feature dimension is for describingThe interference that role or environment in game operate first role performance objective;
The probability of fourth feature dimension corresponding with the status information in fourth feature dimension is obtained, wherein, it is differentStatus information in fourth feature dimension is provided with corresponding probability in advance, and the status information in fourth feature dimension is for describingThe interference that the position of first role in game operates performance objective.
Using the embodiment of the present invention, when getting the first instruction of the first account number in application, shown in the client of applicationShow identification information, when identification information is for identifying the sub- period performance objective operation in target time section, target time sectionIn the sub- period to by performance objective operate come for first role obtain application virtual scene in virtual resource it is generalRate addition, in the second instruction for getting the first account number, instruction first role performs the object run of the first instruction instruction, andSearch in target time section during performance objective operation where the corresponding destination probability addition of target sub- period;So as at leastFirst role is determined by performance objective operation based on destination probability addition to obtain the virtual resource in the virtual scene of applicationProbability, in game process, player can select corresponding probability addition by the transmission opportunity of operation " second instruction ",It can solve the technical issues of mode of operation played in the relevant technologies is single, and then reach mode of operation in abundant gameTechnique effect.
Optionally, the specific example in the present embodiment can refer to the example described in above-described embodiment, the present embodimentDetails are not described herein.
It will appreciated by the skilled person that structure shown in Fig. 10 is only to illustrate, terminal can be smart mobile phone(such as Android phone, iOS mobile phones), tablet computer, palm PC and mobile internet device (Mobile InternetDevices, MID), the terminal devices such as PAD.Figure 10 it does not cause to limit to the structure of above-mentioned electronic device.For example, terminal is alsoIt may include more either less components (such as network interface, display device) than shown in Figure 10 or have and Figure 10 institutesShow different configurations.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is canTo be completed by program come command terminal device-dependent hardware, which can be stored in a computer readable storage mediumIn, storage medium can include:Flash disk, read-only memory (Read-Only Memory, ROM), random access device (RandomAccess Memory, RAM), disk or CD etc..
The embodiment of the present invention additionally provides a kind of storage medium.Optionally, in the present embodiment, above-mentioned storage medium canFor performing the program code of resource acquisition method of determining probability.
Optionally, in the present embodiment, above-mentioned storage medium can be located at multiple in the network shown in above-described embodimentOn at least one of network equipment network equipment.
Optionally, in the present embodiment, storage medium is arranged to store the program code for performing following steps:
S21 in response to the first instruction of the first account number in the application that gets, show that mark is believed in the client of applicationBreath, wherein, when identification information is for identifying the sub- period performance objective operation in target time section, in target time sectionThe probability of virtual resource in the virtual scene that the sub- period obtains application for first role to being operated by performance objective addsInto first role is that performance objective operates and belongs to the virtual role of the first account number in virtual scene;
S22, in the second instruction for getting the first account number, instruction first role performs the target behaviour of the first instruction instructionMake, and search in target time section during performance objective operation where the corresponding destination probability addition of target sub- period;
S23 at least determines first role by performance objective operation to obtain the virtual of application based on destination probability additionThe probability of virtual resource in scene.
Optionally, storage medium is also configured to store the program code for performing following steps:
S31 obtains destination probability addition and the sum of one probability for time dimension of time dimension;
S32 obtains the probability of fisrt feature dimension corresponding with the status information in fisrt feature dimension, wherein, for notWith fisrt feature dimension on status information be provided with corresponding probability in advance, the status information in fisrt feature dimension is used forThe different motion states of first role are described;
S33 obtains the probability of second feature dimension corresponding with the status information in second feature dimension, wherein, for notWith second feature dimension on status information be provided with corresponding probability in advance, the status information in second feature dimension is used forThe direction of first role is described;
S34 obtains the probability of third feature dimension corresponding with the status information in third feature dimension, wherein, for notWith third feature dimension on status information be provided with corresponding probability in advance, the status information in third feature dimension is used forThe interference that role or environment in description virtual scene operate first role performance objective;
S35 obtains the probability of fourth feature dimension corresponding with the status information in fourth feature dimension, wherein, for notWith fourth feature dimension on status information be provided with corresponding probability in advance, the status information in fourth feature dimension is used forThe interference that the position of first role in description virtual scene operates performance objective.
Optionally, the specific example in the present embodiment can refer to the example described in above-described embodiment, the present embodimentDetails are not described herein.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to:USB flash disk, read-only memory (ROM,Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc orThe various media that can store program code such as CD.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
If the integrated unit in above-described embodiment is realized in the form of SFU software functional unit and is independent productSale or in use, the storage medium that above computer can be read can be stored in.Based on such understanding, skill of the inventionThe part or all or part of the technical solution that art scheme substantially in other words contributes to the prior art can be with softThe form of part product embodies, which is stored in storage medium, is used including some instructions so that onePlatform or multiple stage computers equipment (can be personal computer, server or network equipment etc.) perform each embodiment institute of the present inventionState all or part of step of method.
In the above embodiment of the present invention, all emphasize particularly on different fields to the description of each embodiment, do not have in some embodimentThe part of detailed description may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed client, it can be by others sideFormula is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, and only oneKind of division of logic function, can there is an other dividing mode in actual implementation, for example, multiple units or component can combine orIt is desirably integrated into another system or some features can be ignored or does not perform.Another point, it is shown or discussed it is mutual itBetween coupling, direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, unit or moduleIt connects, can be electrical or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unitThe component shown may or may not be physical unit, you can be located at a place or can also be distributed to multipleIn network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can alsoThat each unit is individually physically present, can also two or more units integrate in a unit.Above-mentioned integrated listThe form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the artFor member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications also shouldIt is considered as protection scope of the present invention.